Skip to content

⬆️ Svelte 5

⬆️ Svelte 5 #579

Workflow file for this run

name: Node.js CI
on:
push:
branches: main
pull_request:
branches: main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 23
- uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('**/pnpm-lock.yaml') }}
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
- run: pnpm exec playwright install
- run: pnpm run test
- run: pnpm run check
- run: pnpm run lint
- run: pnpm run package
- uses: actions/upload-artifact@v4
if: failure()
with:
name: playwright
path: |
playwright-report
test-results
retention-days: 7