-
Notifications
You must be signed in to change notification settings - Fork 9
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
Upgrade to Node.js v20 for the GitHub Actions Library [MABL-13559] #21
Conversation
@@ -4,7 +4,7 @@ import * as toolCache from '@actions/tool-cache'; | |||
|
|||
type Option<T> = T | undefined; | |||
|
|||
const REQUIRED_NODEJS_MAJOR_VERSION = 14; | |||
const REQUIRED_NODEJS_MAJOR_VERSION = 18; |
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.
Should this be 20? Or we're saying that the min is 18, but it's compatible with up to 20?
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.
20 is what the GH Actions JS runs under, inside GH.
18 is what the CLI code runs under, on the system where the CLI will be installed.
These are disparate runtimes, @jbaldassari
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.
2️⃣ 0️⃣
Address GitHub Actions deprecation warnings around the Node.js version use to run the GitHub Action itself.
Additionally:
18