Skip to content

fix(ci): add build step before tests, audit production deps only #14

fix(ci): add build step before tests, audit production deps only

fix(ci): add build step before tests, audit production deps only #14

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Node ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run type-check
- run: npm run build
- run: npm test