Use consistent node version

This commit is contained in:
Malachi Soord 2024-12-24 11:01:14 +01:00
parent 88738327fd
commit 97e8382a41
No known key found for this signature in database
GPG Key ID: C61BEBD6CC542333
2 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@ jobs:
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc'
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
- name: Cache PlatformIO - name: Cache PlatformIO
@ -74,7 +75,7 @@ jobs:
- name: Use Node.js - name: Use Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20.x' node-version-file: '.nvmrc'
cache: 'npm' cache: 'npm'
- run: npm ci - run: npm ci
- run: npm test - run: npm test

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
20.18.1