feat: bump to use node20 runtime (#641)

This commit is contained in:
Rui Chen
2024-02-06 15:47:20 +01:00
committed by GitHub
parent aadc3a98df
commit c57490a8b0
7 changed files with 51 additions and 38 deletions

View File

@@ -14,6 +14,7 @@ jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- 'ubuntu-22.04'
@@ -24,14 +25,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Read .nvmrc
run: echo "::set-output name=NVMRC::$(cat .nvmrc)"
id: nvm
- name: Setup Node
uses: actions/setup-node@v3.6.0
- uses: actions/setup-node@v4
with:
node-version: '${{ steps.nvm.outputs.NVMRC }}'
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci