Skip to content

Merge pull request #593 from dwightjack/svelte5 #1976

Merge pull request #593 from dwightjack/svelte5

Merge pull request #593 from dwightjack/svelte5 #1976

Workflow file for this run

name: Node.js CI
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup
build:
runs-on: ubuntu-latest
needs: [setup]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup
- run: pnpm run lint
- run: pnpm run build
test:
timeout-minutes: 60
needs: [setup]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup
- name: Install Playwright Browsers
run: pnpm exec playwright install chromium --with-deps
- name: Build
run: VITE_IS_TEST=true pnpm run build
- name: Run Playwright tests
run: pnpm test -- --reporter=html
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
if: failure()
with:
name: playwright-report
path: playwright-report/
retention-days: 10