Skip to content
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

Merged
merged 6 commits into from
May 21, 2024

Conversation

twistedpair
Copy link
Contributor

Address GitHub Actions deprecation warnings around the Node.js version use to run the GitHub Action itself.

Additionally:

  • Upgrades the core GitHub Actions libraries
  • Bumps the minumum runtime (not GitHub Actions) Node.js version to 18
  • Updates the installation testing matrix used in building the action

@twistedpair twistedpair requested review from a team May 21, 2024 06:18
@@ -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;
Copy link
Contributor

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?

Copy link
Contributor Author

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

Copy link

@jeffreyzupka jeffreyzupka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2️⃣ 0️⃣

@twistedpair twistedpair changed the title Upgrade to Node.js v20 for the GitHub Actions Library Upgrade to Node.js v20 for the GitHub Actions Library [MABL-13559] May 21, 2024
@twistedpair twistedpair merged commit bbab094 into main May 21, 2024
6 checks passed
@twistedpair twistedpair deleted the jrl-node20 branch May 21, 2024 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants