Use .nvmrc file

This commit is contained in:
Niels van Velzen
2026-05-12 13:06:30 +02:00
parent ecc3520b95
commit b1df9546c4
4 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
node-version-file: .nvmrc
- name: Run build
run: |
npm ci --no-audit
+2 -4
View File
@@ -17,8 +17,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
check-latest: true
node-version-file: .nvmrc
cache: npm
- name: Install Node.js dependencies
@@ -40,8 +39,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
check-latest: true
node-version-file: .nvmrc
cache: npm
- name: Install Node.js dependencies
+1 -2
View File
@@ -25,8 +25,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 20
check-latest: true
node-version-file: .nvmrc
cache: npm
- name: Build and start test server
+1
View File
@@ -0,0 +1 @@
26