deadhead-space-freight-tycoon/.gitea/workflows/ci.yml

24 lines
644 B
YAML

name: CI
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v7
with:
node-version-file: .nvmrc
- run: pnpm install --frozen-lockfile
- run: pnpm typecheck
- run: pnpm lint
- run: pnpm coverage
# Browser tests against the web build alone (PWA, and the game on the device, CR-014).
- run: pnpm --filter @deadhead/web build:e2e
- run: pnpm --filter @deadhead/web exec playwright install --with-deps chromium
- run: pnpm --filter @deadhead/web e2e