Skip to content

Merge pull request #32 from jonathansantilli/codex/wave-f-foundation-… #99

Merge pull request #32 from jonathansantilli/codex/wave-f-foundation-…

Merge pull request #32 from jonathansantilli/codex/wave-f-foundation-… #99

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
verify:
name: verify (${{ matrix.os }}, node ${{ matrix.node-version }})
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
node-version:
- 20.19.0
- 22.13.0
- 24.x
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Format check
run: npm run format:check
- name: Typecheck
run: npm run typecheck
- name: Test
run: npm run test
- name: Build
run: npm run build
coverage:
name: test coverage
runs-on: ubuntu-latest
needs: verify
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 22.13.0
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests with coverage
run: npm run test:coverage
performance:
name: performance threshold
runs-on: ubuntu-latest
needs: verify
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: 20.19.0
cache: npm
- name: Install dependencies
run: npm ci
- name: Performance test
run: npm run test:perf