Skip to content

Release 0.3.0 - UX, Performance & Hugging Face Pivot #41

Release 0.3.0 - UX, Performance & Hugging Face Pivot

Release 0.3.0 - UX, Performance & Hugging Face Pivot #41

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
permissions:
contents: write
jobs:
check:
name: 'Lint, Type-Check, Test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npx playwright install --with-deps
- run: npm run check
- run: npm run test:e2e
deploy:
name: 'Build and Deploy'
needs: check
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- run: npm ci
- run: npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: out
branch: gh-pages