Skip to content

Commit b8775e2

Browse files
committed
AP-25351: Get GitHub CI node version from package.json
AP-25351 (Add GitHub Actions for repositories containing scripting editors)
1 parent 9b99e7c commit b8775e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ jobs:
3232
- name: Install Node.js
3333
uses: actions/setup-node@v6
3434
with:
35-
node-version: "22.11.0"
36-
cache: "npm"
35+
node-version-file: org.knime.python3.scripting.nodes/js-src/package.json
36+
cache: npm
3737
cache-dependency-path: org.knime.python3.scripting.nodes/js-src/package-lock.json
3838
- name: Install dependencies
3939
run: npm ci

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
- name: Install Node.js
2929
uses: actions/setup-node@v6
3030
with:
31-
node-version: "22.11.0"
32-
cache: "npm"
31+
node-version-file: org.knime.python3.scripting.nodes/js-src/package.json
32+
cache: npm
3333
cache-dependency-path: org.knime.python3.scripting.nodes/js-src/package-lock.json
3434

3535
- name: Install dependencies

0 commit comments

Comments
 (0)