-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add Node.js setup support #254
Conversation
.github/workflows/tox.yml
Outdated
if: ${{ inputs.default_node != '' }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version-file: ${{ inputs.default_node }} |
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.
Just use the exact same name 'node-version-file' as argument, would make it easier to switch and expand ins. the future.
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.
Also modify https://github.com/ansible/team-devtools/blob/main/.github/workflows/test.yml#L14 to ensure we have at least one case where we use default value and one where we pass an argument. Created a .tool-versions file in this repo, just for testing purposes and for enabling the testing of this argument.
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.
@ssbarnea I have made the suggested changes..
No description provided.