build: use lts shorthand in GitHub Actions

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 <soyjuanarbol@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Rich Trott 2021-07-26 18:42:13 -07:00 committed by Node.js GitHub Bot
parent 3a10a37f28
commit d6bb7ed6c8
6 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ on:
- cron: "*/5 * * * *"
env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
startCI:

View File

@ -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:

View File

@ -15,7 +15,7 @@ on:
- cron: "*/5 * * * *"
env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
commitQueue:

View File

@ -6,7 +6,7 @@ on:
- cron: "0 0 * * *"
env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
build-lto:

View File

@ -12,7 +12,7 @@ on:
env:
PYTHON_VERSION: 3.9
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
lint-addon-docs:

View File

@ -11,7 +11,7 @@ on:
- v[0-9]+.x
env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
build-docs: