Skip to content

Separate verification from test scripts. #5

Separate verification from test scripts.

Separate verification from test scripts. #5

Workflow file for this run

name: CI
on:
push:
pull_request:
permissions:
contents: read
jobs:
verify:
runs-on: macos-14
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Set up Chrome
id: chrome
uses: browser-actions/setup-chrome@v1
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run lint
- name: Run TypeScript typecheck
run: npm run typecheck
- name: Build distributable assets
run: npm run build
- name: Run Playwright UI tests
run: npm test
env:
CHROME_PATH: ${{ steps.chrome.outputs.chrome-path }}
- name: Upload Playwright artifacts
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-artifacts
path: |
playwright-report
test-results