From 80db9dff28b4a314569361b6ce406027d651fd40 Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Mon, 29 Apr 2024 17:33:28 +0300 Subject: [PATCH] ci: use node 16 (#9600) * ci: use lts node version in CI * lts/* * 16 * more 16 --- .github/workflows/covector-version-or-publish-v1.yml | 2 +- .github/workflows/covector-version-or-publish.yml | 2 +- .github/workflows/lint-js.yml | 4 ++-- .github/workflows/publish-cli-js.yml | 2 +- .github/workflows/test-cli-js.yml | 2 +- .../.github/workflows/covector-version-or-publish.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/covector-version-or-publish-v1.yml b/.github/workflows/covector-version-or-publish-v1.yml index 774550074..5545a6f08 100644 --- a/.github/workflows/covector-version-or-publish-v1.yml +++ b/.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 diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index 67a1a7a0a..3bc7ffcff 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.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 diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index de3ee5a06..89407bc50 100644 --- a/.github/workflows/lint-js.yml +++ b/.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 diff --git a/.github/workflows/publish-cli-js.yml b/.github/workflows/publish-cli-js.yml index 801cc2a81..295f5fdf5 100644 --- a/.github/workflows/publish-cli-js.yml +++ b/.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 diff --git a/.github/workflows/test-cli-js.yml b/.github/workflows/test-cli-js.yml index 3a744a218..dc8ee19ab 100644 --- a/.github/workflows/test-cli-js.yml +++ b/.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 diff --git a/tooling/cli/templates/plugin/with-api/.github/workflows/covector-version-or-publish.yml b/tooling/cli/templates/plugin/with-api/.github/workflows/covector-version-or-publish.yml index ff94ec7df..7f75cde28 100644 --- a/tooling/cli/templates/plugin/with-api/.github/workflows/covector-version-or-publish.yml +++ b/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