feat: update to use nodejs20 runtime

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2023-12-21 13:39:34 -05:00
parent 7a931cba8c
commit 0baec7d13a
No known key found for this signature in database
GPG key ID: 6577287BDCA70840
5 changed files with 9 additions and 15 deletions

View file

@ -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