Files
browse/.github/workflows/ci.yml
T
2026-02-06 21:54:33 +01:00

41 lines
802 B
YAML

name: CI
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install Playwright with dependencies
run: npx playwright install --with-deps webkit
- name: Build
run: npm run build
- name: Lint & Format
run: npm run check
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm test --if-present