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

Prepare for the dependency and runtime updates #68

Merged
merged 7 commits into from
Nov 6, 2023
Merged

Conversation

dominykas
Copy link
Member

This PR is preparation for the dependency updates and the Node.js upgrade in the action runner itself (will follow up with that in a few minutes):

  • It updates the Node.js release schedule (this will add Node.js 21 as the experimental version into various matrices)
  • It starts using the built-in test runner for the tests for the private actions and refactors them a little bit
  • It removes the GITHUB_OUTPUT env var inside tests - we're testing that we're producing the correct output, but we do not want to affect the actual output. I'll follow this up later to actually set it to a temporary file, so that tests can be further cleaned up to stop hijacking process.stdout.

(cherry picked from commit 41a3e8e)
GITHUB_OUTPUT belongs to the action which executes these tests - we don't want to affect it.

There will be a follow up to set GITHUB_OUTPUT to something temporary, so that we can actually test things end-to-end, under real-life conditions.

(cherry picked from commit 554b17c)
(cherry picked from commit c0bc1dc)
This will make it simpler to refactor the tests to rely on GITHUB_OUTPUT variable again, instead of hijacking the stdout.

(cherry picked from commit ebed8de)
@dominykas dominykas changed the title Prepare the upgrade to use node20 in the action runner Prepare for the dependency and runtime updates Nov 1, 2023
Copy link
Contributor

@Eomm Eomm left a comment

Choose a reason for hiding this comment

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

Minor suggestion

.github/actions/prepare-node-test-matrix-action/index.js Outdated Show resolved Hide resolved
@dominykas dominykas merged commit e462000 into main Nov 6, 2023
4 checks passed
@dominykas dominykas deleted the modernize branch November 6, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants