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

Set node version explicitly instead of looking up .nvmrc #61

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

georgeblahblah
Copy link
Contributor

@georgeblahblah georgeblahblah commented Jul 26, 2023

Some projects using the action might not have an .nvmrc file, which causes the action to fail. This change sets a node version of "18.17.0" explicitly, instead of reading an .nvmrc file.

Thanks @coldlink for flagging

action.yaml Show resolved Hide resolved
Co-authored-by: Max Duval <max.duval@theguardian.com>
@georgeblahblah
Copy link
Contributor Author

georgeblahblah commented Jul 26, 2023

There's some disconnect with this PR and the latest commit on the branch, d8bf833. Maybe it's better to use a specific node version instead of .nvmrc for now - I'll make a new commit

@nicl
Copy link
Contributor

nicl commented Jul 26, 2023

@georgeblahblah yep this branch is currently failing at guardian/devx-logs#28. So I'd be keen to hardcode the version and release so that we fix things at least - as there are a lot of repos using this, so it is likely there are others impacted beyond the initial report.

Copy link
Contributor

@nicl nicl left a comment

Choose a reason for hiding this comment

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

Have tested the latest version of this branch successfully here: guardian/devx-logs#28.

@nicl nicl merged commit e9a6c4f into main Jul 26, 2023
1 check passed
@nicl nicl deleted the gb/set-node-version branch July 26, 2023 15:42
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.

3 participants