You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node 20 is being deprecated and Node 24 is the latest LTS. This updates
the GitHub Actions runtime, CI workflows, type definitions, and
documentation to use Node 24.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Trust these instructions. Only search the codebase if information here is incomp
4
4
5
5
## Repository Overview
6
6
7
-
**dependency-review-action** is a GitHub Action (TypeScript/Node.js 20) that scans pull requests for dependency changes, raising errors for vulnerabilities or invalid licenses. It queries the GitHub Dependency Review API, evaluates changes against configured rules, and produces job summaries and PR comments. The action entry point is `dist/index.js` (bundled via `ncc`). The repo is small (~15 source files, ~15 test files).
7
+
**dependency-review-action** is a GitHub Action (TypeScript/Node.js 24) that scans pull requests for dependency changes, raising errors for vulnerabilities or invalid licenses. It queries the GitHub Dependency Review API, evaluates changes against configured rules, and produces job summaries and PR comments. The action entry point is `dist/index.js` (bundled via `ncc`). The repo is small (~15 source files, ~15 test files).
8
8
9
9
## Build & Validation Commands
10
10
@@ -36,7 +36,7 @@ If format-check fails, run `npm run format` to auto-fix, then re-check.
36
36
37
37
### CI Checks (`.github/workflows/ci.yml`)
38
38
39
-
CI runs on PRs (excluding `**.md` changes) with Node 20:
39
+
CI runs on PRs (excluding `**.md` changes) with Node 24:
40
40
41
41
1.**test** job: `npm ci --ignore-scripts` → `npm test`
42
42
2.**lint** job: `npm ci --ignore-scripts` → `npm run format-check` → `npm run lint`
- The action runs on `node20` (declared in `action.yml`)
106
+
- The action runs on `node24` (declared in `action.yml`)
107
107
- Source imports often use relative `../src/` paths (e.g. `import {readConfig} from '../src/config'`)
108
108
- Adding a new action input requires changes in: `action.yml` (input definition), `src/schemas.ts` (Zod schema with default), `src/config.ts` (reading the input), and relevant source/test files
109
109
-`dist/index.js` is committed for GitHub Actions but PR contributors should NOT include `dist/` changes — maintainers handle rebuilding
0 commit comments