-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to node 16 #689
Update to node 16 #689
Conversation
update setup node version
@@ -69,6 +69,6 @@ inputs: | |||
converted to HTTPS. | |||
default: false | |||
runs: | |||
using: node12 | |||
using: node16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are we concerned about older GHES + GitHub Connect?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will major version these changes, so users using GitHub Connect can stay pinned on @v2
so if they are on a very old GHES version their workflows will still run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also discussed offline. sounds like this is the same plan we're using across all in-the-box actions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what to do
@@ -13,7 +13,7 @@ jobs: | |||
steps: | |||
- uses: actions/setup-node@v1 | |||
with: | |||
node-version: 12.x | |||
node-version: 16.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are there any cases where we will fallback to node12? Wondering whether worth having a test matrix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not at this moment, the version defined in the action.yaml
is the version we use. Once we release a new major version, I can update this and the readme to include more testing (we can cut a releases/v2 branch to mirror our v1 branch) and test both that and the main branch
Please consider adding some note to https://github.com/actions/checkout/releases/tag/v3.0.0 explaining what practical impact this might have on users that would justify the major version bump. actions/setup-java#290 (comment) has more discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2000
Yes please. Otherwise this looks like a pointless major bump which triggers thousands of dependabot pull requests. |
(There is #708 but that is not displayed as part of Dependabot PRs.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
Nice token you have there. I would recommend to revoke it. |
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689 Please update the following actions to use Node.js 16: maxam2017/productive-box@master .
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689 Please update the following actions to use Node.js 16: maxam2017/productive-box@master .
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689 Please update the following actions to use Node.js 16: maxam2017/productive-box@master
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689 Please update the following actions to use Node.js 16: maxam2017/productive-box@master
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2 Using version v3, latest or master: actions/checkout#689 Please update the following actions to use Node.js 16: maxam2017/productive-box@master
The version 3.x appears to be due to the following: - actions/checkout#689 There have been no breaking changes, and we seem to have no problem keeping up with the latest version.
* 🩹 fix deprecation warning: Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689 Signed-off-by: Thomas Merz <[email protected]> * Update .github/workflows/update-sh.yml Co-authored-by: J0WI <[email protected]> Signed-off-by: thomasmerz <[email protected]> Signed-off-by: Thomas Merz <[email protected]> Signed-off-by: thomasmerz <[email protected]> Co-authored-by: J0WI <[email protected]>
The version 3.x appears to be due to the following: - actions/checkout#689 There have been no breaking changes, and we seem to have no problem keeping up with the latest version.
The version 3.x appears to be due to the following: - actions/checkout#689 There have been no breaking changes, and we seem to have no problem keeping up with the latest version.
The version 3.x appears to be due to the following: - actions/checkout#689 There have been no breaking changes, and we seem to have no problem keeping up with the latest version.
…oud#1885) * 🩹 fix deprecation warning: Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@master Using version v3, latest or master: actions/checkout#689 Signed-off-by: Thomas Merz <[email protected]> * Update .github/workflows/update-sh.yml Co-authored-by: J0WI <[email protected]> Signed-off-by: thomasmerz <[email protected]> Signed-off-by: Thomas Merz <[email protected]> Signed-off-by: thomasmerz <[email protected]> Co-authored-by: J0WI <[email protected]>
Node 12 has an end of life on April 30, 2022.
This PR updates the default runtime to node16, rather then node12.
This is supported on all Actions Runners v2.285.0 or later.