-
Notifications
You must be signed in to change notification settings - Fork 13
Add Windows runner support #16
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
Changes from 27 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
6c117ed
Initialize npm and install dependencies
volodymyrZotov 33e1725
Add tsconfig.json
volodymyrZotov 6bc0739
Add configs for husky, prettier, jest and lint-staged
volodymyrZotov 2a32513
Add cli-installer package that contains all the logic to install CLI …
volodymyrZotov 7f032ae
Add entrypoint file
volodymyrZotov 7e161d9
Build js version of the action
volodymyrZotov ad39320
Update action entry point
volodymyrZotov b9fb00f
Update tests to run on windows only
volodymyrZotov c106dbe
Add debug logs
volodymyrZotov 79fd3de
Refactor login to get latest version
volodymyrZotov 896a1ec
Throw error only when invalid version param is passed
volodymyrZotov 58af2c4
Fix ts-jest warning
volodymyrZotov ee85d21
Move all config file to root
volodymyrZotov 3f26e2a
Add package.json to dist
volodymyrZotov 0c510c6
Introduce `version` package that incapsulates all the logic for getti…
volodymyrZotov 163fa43
Temporary update test to point to the feature branch
volodymyrZotov bee00c9
Override `install` method for macos runner and add more logs
volodymyrZotov 66656a8
Add jest tests job
volodymyrZotov 7d4c11c
Add TODO about updating `getLatestVersion` implementation
volodymyrZotov 1a68528
Revert tests to point to the current dir
volodymyrZotov 722f7dc
Remove install CLI script
volodymyrZotov cd78745
Simplify `getLatestVersion` function
volodymyrZotov 478be7b
Fix formatting and lint errors
volodymyrZotov 22ca98f
Do not need to install CLI to run unit tests
volodymyrZotov f884838
Add test case for validating v2.19.3-beta.12
volodymyrZotov f9f495b
Support both self hosted and github hosted runner architectures
volodymyrZotov 79dce53
Update lint staged so it pass with changed files has no tests
volodymyrZotov c92e38e
Refactor to incapsulate download urls in a map
volodymyrZotov 99f936a
Update actions/checkout to v4
volodymyrZotov e06540d
Write tests for installers and remove --passWithNoTests option from l…
volodymyrZotov 3eed3f1
Make latest build, fix windows download url and fix tests
volodymyrZotov 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| #!/usr/bin/env sh | ||
| . "$(dirname -- "$0")/_/husky.sh" | ||
|
|
||
| npx lint-staged --config ./lint-staged.config.js |
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,4 @@ | ||
| #!/usr/bin/env sh | ||
| . "$(dirname -- "$0")/_/husky.sh" | ||
|
|
||
| npm run validate |
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,3 @@ | ||
| coverage/ | ||
| dist/ | ||
| node_modules/ |
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.
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.