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

Change default node-version-file to package.json #6

Merged
merged 6 commits into from
Dec 18, 2023

Conversation

NullVoxPopuli
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli commented Oct 4, 2023

In the wake of nodejs/node#49911
I noticed that actions/setup-node doesn't inherently support volta by default. It requires that node-version-file is set, which this PR changes to be the package.json, since the stated goal of this action is to easily support volta and package.json configs out of the box without configuration.

Tested here: https://github.com/NullVoxPopuli/actions-testing/actions/workflows/testing.yml
(and compared with various other environment scenarios)

Ran in to this: actions/setup-node#864
which this repo suffers from

@NullVoxPopuli NullVoxPopuli force-pushed the change-default-node-version-file-to-package.json branch from 25d0de3 to 03523cc Compare December 15, 2023 22:35
@NullVoxPopuli NullVoxPopuli merged commit 96ea1ac into main Dec 18, 2023
19 checks passed
@NullVoxPopuli NullVoxPopuli deleted the change-default-node-version-file-to-package.json branch December 18, 2023 15:54
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.

1 participant