fix: ci crash due to version of nodejs (#547)

* fix: update version of nodejs in build.yml

* fix: node version in build.yml

* set node-version to 16
This commit is contained in:
xxrl 2022-09-29 21:15:51 +08:00 committed by GitHub
parent a84384db0c
commit f308fe932d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14.17.0'
node-version: 16
- uses: c-hive/gha-yarn-cache@v2
with:
directory: ./web
@ -60,7 +60,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 12
node-version: 16
- name: Fetch Previous version
id: get-previous-tag