Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,33 @@ jobs:
- name: Verify package contents
run: npm pack --workspace=@codeburn/core --dry-run

cli:
name: cli (node ${{ matrix.node }})
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
node: ['22.13.x', '24.x']
steps:
- uses: actions/checkout@v6

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}

- name: Check workspace versions
run: npm run check:workspace-versions

- name: Install from lockfile
run: npm ci

- name: Build core
run: npm run build --workspace=@codeburn/core

- name: Test cli
run: npm test --workspace=codeburn

semgrep:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"build:cli": "npm run build:cli -w codeburn",
"build:dash": "npm run build:dash -w codeburn",
"dev": "npm run dev -w codeburn",
"test": "npm run test -w codeburn",
"test": "npm run build -w @codeburn/core && npm run test -w @codeburn/core && npm run test -w codeburn",
"check:workspace-versions": "node scripts/check-workspace-versions.mjs"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"build:cli": "tsup && node -e \"const fs=require('fs'); fs.copyFileSync('src/cli.ts','dist/cli.js'); fs.chmodSync('dist/cli.js',0o755)\"",
"build:dash": "cd ../../dash && npm install --no-audit --no-fund --silent && npm run build",
"dev": "NODE_OPTIONS=--no-deprecation tsx src/cli.ts",
"test": "vitest",
"test": "vitest run",
"prepublishOnly": "npm run build"
},
"keywords": [
Expand Down
Loading