-
Notifications
You must be signed in to change notification settings - Fork 1
26 lines (26 loc) · 833 Bytes
/
ci.yml
File metadata and controls
26 lines (26 loc) · 833 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: CI
on:
pull_request:
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: 24.14.1
cache: pnpm
- run: pnpm install --frozen-lockfile
- name: Verify CSP inline script hash
run: bash scripts/verify-csp-hash.sh
- run: pnpm run typecheck
- run: pnpm test
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
- name: Run E2E tests
run: pnpm test:e2e
env:
VITE_GITHUB_CLIENT_ID: ${{ vars.VITE_GITHUB_CLIENT_ID }}