Skip to content

0.3.0

0.3.0 #17

name: Deploy to GitHub Pages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node.js 📦
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
- name: Install and Build 🔧
run: |
npm ci
npm run build
- name: Test 🧪
run: |
npm test
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
branch: gh-pages
single-commit: true