-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Support .nvmrc #338
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
Merged
Merged
Support .nvmrc #338
Changes from 59 commits
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
c3812bd
Implemented support for repository defined node version files such as…
TJMcCarthy95 a0d376d
Expand node version file support to include lts based codenames
TJMcCarthy95 75c8584
fixed missing brackets and merged main
hkaur008 820128a
test commit ignore
Xlient ac10981
Revert "test commit ignore"
hkaur008 bca2818
fixed merge conflicts
Xlient 82441b3
Refactored code and removed redundant logic
Xlient 052bc8b
created test workflow & nvmrc file
Xlient 7f7335c
updated nvmrc & added ignore paths
Xlient 1f26500
fixed error in workflow file
Xlient 510ffc9
Update version-file-workflow.yml
Xlient 2579409
fixed merge conflicts
Xlient 1650600
Merge branch 'pull209' of https://github.com/hkaur008/setup-node into…
Xlient 2fb803b
refactored installer.test.ts
hkaur008 42c8cd4
deleted node-version-file
hkaur008 e471f47
code syntax matched
hkaur008 b1ed0c3
moved node version section in README to advanced usage
Xlient c178bbb
removed test logic in ParseNodeVersionFile for lts and partial matching
Xlient eb7c472
removed extra tabs (versions.yml)
hkaur008 7fb46ef
removed extra tabs (versions.yml)
hkaur008 ec979d0
removed unnessary test
Xlient fe30936
Delete index.js
Xlient 7d40f6c
added correct path to version file
Xlient 6e5214f
build successful
hkaur008 5b7f417
build successful
hkaur008 ab0d6af
refactored test to seperate lts alias describe()
Xlient fa3de08
removed await from line 25 main.ts
hkaur008 b8f2a97
changed path of versionFilePath line 24 main.ts
hkaur008 a03cbe2
changed import from syntax instead require line 3 and line 8
hkaur008 b94f87b
parseNodeVersionFile changed from async function
hkaur008 10f97d5
removed extra line 15 installer.js
hkaur008 04a1a57
node-version-file: '../.nvmrc' changed to .nvmrc
hkaur008 aa06bd5
import * as hc from '@actions/http-client';
hkaur008 3f779ed
built done for changes
hkaur008 6f69e28
defined GITHUB_WORKSPACE env variable for node-version-file test
Xlient 01342a8
- name: Setup node from node version file
hkaur008 fa4605f
.nvmrc
hkaur008 acc44a6
paragraph added in version.yml btw jobs
hkaur008 f606613
diff explanation for advanced-usage.md
hkaur008 9cdff02
link to supported section added
hkaur008 7ba3c8c
added paragraph in installer.test.ts line 11
hkaur008 96fa061
it blocks in lowercase
hkaur008 f927de6
separate function for resolving version file added
hkaur008 1b0aeb7
v14 .nvmrc
hkaur008 aab770a
set added to check the version of the file
hkaur008 36bb47b
return version otherwise action will fail
hkaur008 34ece93
syncing with main
hkaur008 edcb32f
Merge branch 'actions:main' into pull209
hkaur008 6382f41
checks implemented for node version file
hkaur008 ff9e2a3
Merge branch 'pull209' of https://github.com/hkaur008/setup-node into…
hkaur008 cc29140
build syncing
hkaur008 36c80a7
minor changes and error fix
hkaur008 7ff10b1
advanced.md changes
hkaur008 c1c4632
build success
hkaur008 243f7be
fixed unit tests
Xlient e313959
updated path to version file
Xlient 8dfead4
fix error in unit test
Xlient d465795
add fix for installer tests
dmitry-shibanov 12a17b4
Merge pull request #2 from dmitry-shibanov/v-dmshib/fix-installer-tests
Xlient caf9b24
removed redundant test
Xlient 6ef0f8d
update dist
Xlient cc6b809
Update docs/advanced-usage.md
Xlient 4e4d327
adds path to error output
Xlient a2b4d83
import os = require('os'); moved back
hkaur008 e75d7c1
Merge remote-tracking branch 'refs/remotes/origin/pull209' into pull209
hkaur008 0f9cdab
build
hkaur008 a7ed1ce
removed n-node-version file
hkaur008 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v14 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.