Skip to content

Commit

Permalink
build: use lts shorthand in GitHub Actions
Browse files Browse the repository at this point in the history
Rather than hard-coding GitHub Actions to use Node.js 14.x, use the
`lts/*` shorthand for "most recent LTS version".

PR-URL: #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>
  • Loading branch information
Trott authored and targos committed Sep 4, 2021
1 parent 495cd02 commit 0bd6dd1
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-start-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- cron: "*/5 * * * *"

env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*

jobs:
startCI:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commit-queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- cron: "*/5 * * * *"

env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*

jobs:
commitQueue:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: "0 0 * * *"

env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*

jobs:
build-lto:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

env:
PYTHON_VERSION: 3.9
NODE_VERSION: 14.x
NODE_VERSION: lts/*

jobs:
lint-addon-docs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
- v[0-9]+.x

env:
NODE_VERSION: 14.x
NODE_VERSION: lts/*

jobs:
build-docs:
Expand Down

0 comments on commit 0bd6dd1

Please sign in to comment.