From 0bd6dd1ee242bd30403c33a93d07f030744b1515 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 26 Jul 2021 18:42:13 -0700 Subject: [PATCH] build: use lts shorthand in GitHub Actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rather than hard-coding GitHub Actions to use Node.js 14.x, use the `lts/*` shorthand for "most recent LTS version". PR-URL: https://github.com/nodejs/node/pull/39538 Reviewed-By: Juan José Arboleda Reviewed-By: Michaël Zasso Reviewed-By: Jiawen Geng Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- .github/workflows/auto-start-ci.yml | 2 +- .github/workflows/commit-lint.yml | 2 +- .github/workflows/commit-queue.yml | 2 +- .github/workflows/daily.yml | 2 +- .github/workflows/linters.yml | 2 +- .github/workflows/misc.yml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/auto-start-ci.yml b/.github/workflows/auto-start-ci.yml index 236e23d30f65ac..c3527549e16af4 100644 --- a/.github/workflows/auto-start-ci.yml +++ b/.github/workflows/auto-start-ci.yml @@ -10,7 +10,7 @@ on: - cron: "*/5 * * * *" env: - NODE_VERSION: 14.x + NODE_VERSION: lts/* jobs: startCI: diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml index 844a2a08ef6420..0f6fd639523cb0 100644 --- a/.github/workflows/commit-lint.yml +++ b/.github/workflows/commit-lint.yml @@ -3,7 +3,7 @@ name: "Commit messages adheres to guidelines at https://goo.gl/p2fr5Q" on: [pull_request] env: - NODE_VERSION: 14.x + NODE_VERSION: lts/* jobs: lint-commit-message: diff --git a/.github/workflows/commit-queue.yml b/.github/workflows/commit-queue.yml index 25b7ea5a8cc4ae..9b8e99c98e5582 100644 --- a/.github/workflows/commit-queue.yml +++ b/.github/workflows/commit-queue.yml @@ -15,7 +15,7 @@ on: - cron: "*/5 * * * *" env: - NODE_VERSION: 14.x + NODE_VERSION: lts/* jobs: commitQueue: diff --git a/.github/workflows/daily.yml b/.github/workflows/daily.yml index 3d8d66a1254920..e36a3fb5194125 100644 --- a/.github/workflows/daily.yml +++ b/.github/workflows/daily.yml @@ -6,7 +6,7 @@ on: - cron: "0 0 * * *" env: - NODE_VERSION: 14.x + NODE_VERSION: lts/* jobs: build-lto: diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index a62ea534b183b2..38168318ee7cc3 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -12,7 +12,7 @@ on: env: PYTHON_VERSION: 3.9 - NODE_VERSION: 14.x + NODE_VERSION: lts/* jobs: lint-addon-docs: diff --git a/.github/workflows/misc.yml b/.github/workflows/misc.yml index 39006c0bf57910..a7366f4d04799d 100644 --- a/.github/workflows/misc.yml +++ b/.github/workflows/misc.yml @@ -11,7 +11,7 @@ on: - v[0-9]+.x env: - NODE_VERSION: 14.x + NODE_VERSION: lts/* jobs: build-docs: