Problem
The CI workflow at .github/workflows/test.yml has several gaps:
- Only tests on Node.js 22.x (volta config says 16 — mismatch)
- No dependency caching between runs (slow CI)
- No lint step in CI (eslint only runs via pre-commit hook)
- Uses
actions/checkout@v2 and actions/setup-node@v2 (both outdated)
Suggested Fix
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: cd packages/web && yarn build
- run: cd packages/web && yarn lint
- run: cd packages/web && yarn test --verbose --maxWorkers=2
Severity
Medium — CI reliability and speed
Problem
The CI workflow at
.github/workflows/test.ymlhas several gaps:actions/checkout@v2andactions/setup-node@v2(both outdated)Suggested Fix
Severity
Medium — CI reliability and speed