Skip to content

ci: add intial build and test workflow #2

ci: add intial build and test workflow

ci: add intial build and test workflow #2

Workflow file for this run

name: Build and test
on:
push:
branches: [main]
pull_request:
jobs:
check:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x, 22.x, 24.x, 26.x]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run format:check
- run: npm run lint
- run: npm run typecheck
- run: npm run check:error-codes
- run: npm test