feat: update to use nodejs20 runtime
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
7a931cba8c
commit
0baec7d13a
5 changed files with 9 additions and 15 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
|
@ -24,14 +24,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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue