-
Notifications
You must be signed in to change notification settings - Fork 0
23 lines (22 loc) · 743 Bytes
/
Copy pathci.yml
File metadata and controls
23 lines (22 loc) · 743 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ['18', '20', '22']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run version:check
- run: npm test
# Smoke: dogfood gate on itself. `npm install` pulls the four @nugehs
# tools as optionalDependencies, so this exercises the node_modules
# resolution path (not just the dev sibling-checkout path). No --ci, so
# it can't fail the build — it proves end-to-end orchestration resolves.
- run: node src/cli.js . --json