浏览代码

ci: use node 16 (#9600)

* ci: use lts node version in CI

* lts/*

* 16

* more 16
Amr Bashir 1 年之前
父节点
当前提交
80db9dff28

+ 1 - 1
.github/workflows/covector-version-or-publish-v1.yml

@@ -171,7 +171,7 @@ jobs:
           fetch-depth: 0
       - uses: actions/setup-node@v2
         with:
-          node-version: 14
+          node-version: 16
           registry-url: 'https://registry.npmjs.org'
           cache: yarn
           cache-dependency-path: tooling/*/yarn.lock

+ 1 - 1
.github/workflows/covector-version-or-publish.yml

@@ -71,7 +71,7 @@ jobs:
           fetch-depth: 0
       - uses: actions/setup-node@v2
         with:
-          node-version: 14
+          node-version: 16
           registry-url: 'https://registry.npmjs.org'
           cache: yarn
           cache-dependency-path: tooling/*/yarn.lock

+ 2 - 2
.github/workflows/lint-js.yml

@@ -22,7 +22,7 @@ jobs:
       - uses: actions/checkout@v2
       - uses: actions/setup-node@v2
         with:
-          node-version: '14'
+          node-version: 16
           cache: yarn
           cache-dependency-path: tooling/cli/node/yarn.lock
       - name: install deps via yarn
@@ -42,7 +42,7 @@ jobs:
       - uses: actions/checkout@v2
       - uses: actions/setup-node@v2
         with:
-          node-version: '14'
+          node-version: 16
           cache: yarn
           cache-dependency-path: tooling/api/yarn.lock
 

+ 1 - 1
.github/workflows/publish-cli-js.yml

@@ -158,7 +158,7 @@ jobs:
   #          usesh: true
   #          mem: 3000
   #          prepare: |
-  #            pkg install -y curl node14 python2
+  #            pkg install -y curl node16 python2
   #            curl -qL https://www.npmjs.com/install.sh | sh
   #            npm install -g yarn
   #            curl https://sh.rustup.rs -sSf --output rustup.sh

+ 1 - 1
.github/workflows/test-cli-js.yml

@@ -43,7 +43,7 @@ jobs:
       - name: setup node
         uses: actions/setup-node@v2
         with:
-          node-version: 14
+          node-version: 16
           cache: yarn
           cache-dependency-path: tooling/cli/node/yarn.lock
 

+ 1 - 1
tooling/cli/templates/plugin/with-api/.github/workflows/covector-version-or-publish.yml

@@ -15,7 +15,7 @@ jobs:
           fetch-depth: 0
       - uses: actions/setup-node@v2
         with:
-          node-version: 12
+          node-version: 16
           registry-url: 'https://registry.npmjs.org'
 
       - name: cargo login