Skip to content

chore: expand the CI matrix #4

chore: expand the CI matrix

chore: expand the CI matrix #4

Workflow file for this run

name: Validate code
on: [push, pull_request]
permissions: { contents: read, packages: read }
jobs:
testAndBuild:
runs-on: ubuntu-latest
timeout-minutes: 2
strategy:
fail-fast: false
matrix:
node-version:
- "22.6" # supports --experimental-strip-types
- "22.x" # latest LTS
- "23.x" # Latest current
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: ⏬ Install dependencies
run: yarn install
- name: ✅ Run tests
run: yarn test >> $GITHUB_STEP_SUMMARY
- name: 🏗 Run build
run: yarn build