From 4447ff116243ada6675b1825c69acf5ca2a9cd9b Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 28 Oct 2020 00:26:46 +0100 Subject: [PATCH] build,tools: gitHub Actions: use Node.js Fermium PR-URL: https://github.com/nodejs/node/pull/35840 Reviewed-By: Jiawen Geng Reviewed-By: Rich Trott --- .github/workflows/auto-start-ci.yml | 5 ++++- .github/workflows/commit-queue.yml | 5 ++++- .github/workflows/linters.yml | 2 +- .github/workflows/misc.yml | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-start-ci.yml b/.github/workflows/auto-start-ci.yml index 7a430274d348da..04a620249f0225 100644 --- a/.github/workflows/auto-start-ci.yml +++ b/.github/workflows/auto-start-ci.yml @@ -9,6 +9,9 @@ on: # ./doc/guides/commit-queue.md - cron: "*/5 * * * *" +env: + NODE_VERSION: 14.x + jobs: startCI: if: github.repository == 'nodejs/node' @@ -20,7 +23,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v2-beta with: - node-version: '12' + node-version: ${{ env.NODE_VERSION }} - name: Install node-core-utils run: npm install -g node-core-utils diff --git a/.github/workflows/commit-queue.yml b/.github/workflows/commit-queue.yml index 3e6b0e49080653..5b36a358c61533 100644 --- a/.github/workflows/commit-queue.yml +++ b/.github/workflows/commit-queue.yml @@ -14,6 +14,9 @@ on: schedule: - cron: "*/5 * * * *" +env: + NODE_VERSION: 14.x + jobs: commitQueue: if: github.repository == 'nodejs/node' @@ -34,7 +37,7 @@ jobs: - name: Install Node.js uses: actions/setup-node@v2-beta with: - node-version: '12' + node-version: ${{ env.NODE_VERSION }} - name: Install node-core-utils run: npm install -g node-core-utils@latest diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 573057742ce70b..6c25e775d34a1e 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -10,7 +10,7 @@ on: env: PYTHON_VERSION: 3.9 - NODE_VERSION: 10.x + NODE_VERSION: 14.x jobs: lint-addon-docs: diff --git a/.github/workflows/misc.yml b/.github/workflows/misc.yml index df33822770523b..4ee135c5ebc43e 100644 --- a/.github/workflows/misc.yml +++ b/.github/workflows/misc.yml @@ -9,7 +9,7 @@ on: - v[0-9]+.x env: - NODE_VERSION: 12.x + NODE_VERSION: 14.x jobs: build-docs: