Skip to content

Commit 6b66484

Browse files
committed
Use Node.js 20 specified in .nvmrc file
1 parent 0b3522d commit 6b66484

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/java-code-analysis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
java: 17
4646
python: 3.11
4747
mambaforge: 24.3.0-0
48-
node: 18
4948

5049
env:
5150
CI_COMMIT_MESSAGE: Automated code structure analysis reports (CI)
@@ -66,12 +65,12 @@ jobs:
6665
distribution: 'adopt'
6766
java-version: ${{ matrix.java }}
6867

69-
- name: Setup node.js ${{ matrix.node }} for Graph Visualization
68+
- name: Setup Node.js for Graph Visualization
7069
uses: actions/setup-node@v4
7170
with:
72-
node-version: ${{ matrix.node }}
71+
node-version-file: 'graph-visualization/.nvmrc'
7372

74-
- name: Install nodes packages for Graph Visualization
73+
- name: Install Node packages for Graph Visualization
7574
working-directory: graph-visualization
7675
run: npm ci
7776

.github/workflows/typescript-code-analysis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ jobs:
4545
java: 17
4646
python: 3.11
4747
mambaforge: 24.3.0-0
48-
node: 18
4948

5049
env:
5150
CI_COMMIT_MESSAGE: Automated code structure analysis reports (CI)
@@ -66,12 +65,12 @@ jobs:
6665
distribution: 'adopt'
6766
java-version: ${{ matrix.java }}
6867

69-
- name: Setup node.js ${{ matrix.node }} for Graph Visualization
68+
- name: Setup Node.js for Graph Visualization
7069
uses: actions/setup-node@v4
7170
with:
72-
node-version: ${{ matrix.node }}
71+
node-version-file: 'graph-visualization/.nvmrc'
7372

74-
- name: Install nodes packages for Graph Visualization
73+
- name: Install Node packages for Graph Visualization
7574
working-directory: graph-visualization
7675
run: npm ci
7776

graph-visualization/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20.12.1

0 commit comments

Comments
 (0)