Browse Source

fix(ci): 修复因 node 版本过低导致第三方包可选链语法不支持的问题

pull/5008/head
echoLC 3 years ago
parent
commit
0f763db450
  1. 2
      .github/workflows/release.yml
  2. 2
      .github/workflows/test.yml

2
.github/workflows/release.yml

@ -20,7 +20,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 12.x
node-version: 14.x
registry-url: https://registry.npmjs.com
- name: Install dependencies

2
.github/workflows/test.yml

@ -31,7 +31,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: 12.x
node-version: 14.x
registry-url: https://registry.npmjs.com
- name: Install dependencies
run: yarn run bootstrap

Loading…
Cancel
Save