Skip to content

fix #13

fix #13 #20

Workflow file for this run

name: Pipeline
on: push
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run format-check
- run: npm run lint
- run: npm run lint-styles
- run: npm run dev &
- run: npx playwright install --with-deps
- run: npm run test-coverage
env:
CI: true
deploy:
if: github.ref == 'refs/heads/main'
needs: check
permissions:
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v3
- uses: actions/upload-pages-artifact@v2
with:
path: public
- id: deployment
uses: actions/deploy-pages@v2