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 authored and Node.js GitHub Bot committed 2021-07-29 04:57:11 +00:00
1 parent 3a10a37f28
commit d6bb7ed6c8
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ on:
- cron: "*/5 * * * *"
env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
startCI:
+1 -1
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:
+1 -1
View File
@@ -15,7 +15,7 @@ on:
- cron: "*/5 * * * *"
env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
commitQueue:
+1 -1
View File
@@ -6,7 +6,7 @@ on:
- cron: "0 0 * * *"
env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
build-lto:
+1 -1
View File
@@ -12,7 +12,7 @@ on:
env:
PYTHON_VERSION: 3.9
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
lint-addon-docs:
+1 -1
View File
@@ -11,7 +11,7 @@ on:
- v[0-9]+.x
env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*
jobs:
build-docs: