Skip to content

site(play): 3 Story templates (0.3.0 push, PR 4/5) #316

site(play): 3 Story templates (0.3.0 push, PR 4/5)

site(play): 3 Story templates (0.3.0 push, PR 4/5) #316

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-test-build:
name: Lint, test, build (${{ matrix.os }}, Node ${{ matrix.node }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 9.12.0
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: "pnpm"
- name: Install
run: pnpm install --frozen-lockfile=false
- name: Lint
run: pnpm lint
# Build before typecheck: cross-package type imports need emitted .d.ts.
- name: Build
run: pnpm build
- name: Typecheck
run: pnpm typecheck
- name: Test
run: pnpm test