Dmitry Shibanov
1088324e41
remove workaround
2021-06-17 17:47:24 +03:00
Dmitry Shibanov
05f3e9f4fa
remove eol in gitattributes
2021-06-17 17:20:16 +03:00
Dmitry Shibanov
3d0d4edb10
Add node's caching implementation ( #2 )
...
* first iteration for implementation of caching
* add logs
* add debug line
* fix build command
* fix path
* add possible post-if
* remove braces
* test new action post-if variant
* work on built-in caching
* remove post-if
* pass version
* work on yarn support
* fix return value
* change names and remove logs
* worked on resolving comments
* check post-if for null
* add success() condition
* remove primary key field
* work on resolving comments
* remove logs
* resolving comments
* resolving comments
* resolving comments
* resolving comments
* fix getpackageManagerVersion
* run clean for unstaged changes
* fix falling version tests
* work on resolving comments
* resolving comments
* fix comment
* resolve comments
* Add tests to cover node's caching (#3 )
* add tests to cover node's caching
* work on fixing tests
* fix e2e tests
* rebuild and fix test
* fixing tests
* change name of describes, it and fix test
* add names for jobs
* fix issue
2021-06-16 09:52:44 +03:00
Maxim Lobanov
5929471019
Update 0000-caching-dependencies.md
2021-06-02 15:52:17 +03:00
Maxim Lobanov
1bf30534fd
Update docs/adrs/0000-caching-dependencies.md
...
Co-authored-by: Alejandro Pauly <alepauly@github.com>
2021-05-26 17:29:27 +03:00
Maxim Lobanov
ae26aaf1b5
Update 0000-caching-dependencies.md
2021-05-26 17:27:14 +03:00
Maxim Lobanov
5fddb2d510
Update 0000-caching-dependencies.md
2021-05-24 17:35:10 +03:00
Maxim Lobanov
8c35c6c880
Update 0000-caching-dependencies.md
2021-05-21 18:28:06 +03:00
Maxim Lobanov
24265e14d4
Create 0000-caching-dependencies.md
2021-05-21 18:16:14 +03:00
Robert Stoll
5c355be170
use 14 instead of 12 in README beacuse peoply copy ( #235 )
2021-02-23 23:21:23 -05:00
Guangcong Luo
46071b5c7a
Fix TypeScript error line/column ( #125 )
...
* Fix TypeScript error line/column
* Adopt official pattern from VS Code
* Minor cleanup
* Add tests for tsc problem matcher
Co-authored-by: Lukas Spieß <lumaxis@github.com>
v2.1.5
2021-02-17 10:52:41 -05:00
Nick Schonning
05f0551dbd
chore: operating-system -> os ( #184 )
...
Schema validation was flagging the old property name
2021-01-20 14:15:22 -05:00
Bryan MacFarlane
23bdee16bc
Clarifications to the README ( #167 ) ( #229 )
...
* Update README.md
* Update README.md
Co-authored-by: Bryan MacFarlane <bryanmacfarlane@github.com>
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-01-20 11:48:26 -05:00
dependabot[bot]
4257181919
Bump acorn from 5.7.3 to 5.7.4 ( #122 )
...
Bumps [acorn](https://github.com/acornjs/acorn ) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases )
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 11:28:06 -05:00
dependabot[bot]
7f4d5225d8
Bump lodash from 4.17.15 to 4.17.19 ( #174 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-01-20 11:26:01 -05:00
Rohan Chougule
68fafecfa4
refactor: use core.info instead of console.log ( #185 )
2021-01-20 10:28:35 -05:00
Maxim Lobanov
c46424eee2
Merge pull request #219 from actions/v-malob/update-readme-v2
...
Update readme before releasing actions/setup-node V2
v2.1.4
2020-12-16 12:47:21 +03:00
Maxim Lobanov
1d846de8c0
Merge branch 'main' into v-malob/update-readme-v2
2020-12-16 12:31:13 +03:00
Maxim Lobanov
d06286dee6
Merge pull request #205 from zodman/main
...
Check for NODE_AUTH_TOKEN overwritten
2020-12-16 12:30:11 +03:00
Andres Vargas
d8c1b596a6
Merge branch 'main' of github.com:actions/setup-node into main
2020-12-15 11:52:46 -06:00
Maxim Lobanov
2bfa943ffb
Update build-test.yml
2020-12-15 13:38:55 +03:00
Maxim Lobanov
6c8a6e529a
Update README.md
2020-12-15 13:36:18 +03:00
Maxim Lobanov
27082cecf3
Merge pull request #194 from aminya/arch
...
Arch option for setup-node
v2-beta
v2.1.3
2020-12-10 10:21:45 +03:00
Amin Yahyaabadi
05e7d6cc23
Add e2e arch test
2020-12-09 13:28:47 -06:00
Amin Yahyaabadi
d6fea3c137
update message to be more general
...
This considers self-hosted runners
2020-12-09 11:27:02 -06:00
Josh Gross
4667755142
Merge pull request #216 from actions/joshmgross/add-codeowners
...
Add CODEOWNERS
2020-12-09 11:22:59 -05:00
Amin Yahyaabadi
2bbfc7698a
Add Architecture only example
2020-12-08 16:47:34 -06:00
Amin Yahyaabadi
5984462aaa
Rename node-arch to architecture
2020-12-08 16:24:02 -06:00
Amin Yahyaabadi
aabe026707
Merge remote-tracking branch 'upstream/main' into arch
2020-12-08 16:15:00 -06:00
Josh Gross
b7cfa22539
Add CODEOWNERS
2020-12-07 16:08:14 -05:00
nulltoken
70b9252472
[Readme] Using check-latest
requires v2-beta
( #207 )
2020-11-19 17:01:35 -05:00
Andres Vargas
7d147e85af
unstage changes
2020-10-27 18:17:58 -06:00
Andres Vargas
66dfac5328
update comment
2020-10-21 19:02:40 -05:00
Andres Vargas
312bbeecfd
update changes
2020-10-21 18:38:23 -05:00
Andres Vargas
26a6dcb73b
update the index file
2020-10-21 18:34:14 -05:00
Andres Vargas
f4215cc0e0
fix format
2020-10-21 18:31:20 -05:00
Andres Vargas
14e150d2b1
update changes
2020-10-21 18:22:21 -05:00
Andres Vargas
5da2d61209
remove space
2020-10-21 18:21:28 -05:00
Andres Vargas
a600caf7cc
remove debug
2020-10-21 18:20:47 -05:00
Andres Vargas
8dde5bc004
adding test for NODE_AUTH_TOKEN overwritten
2020-10-21 18:14:34 -05:00
Thomas Boop
c6fd00ceb9
Swap to env files ( #200 )
...
* Swap to env files
* revert to old method for tests
* disable executing of commands during tests
* bump package.json @actions/core version
v2.1.2
2020-10-01 12:03:22 -04:00
Amin Yahyaabadi
2f532cef8f
Merge branch 'main' into arch
2020-09-15 21:30:00 -05:00
Thomas Boop
c211e95e60
Add Licensed
To Help Verify Prod Licenses ( #180 )
...
* add licensed workflow and config files
* manual dependency verification
* Hide generated license files in pr
2020-09-10 09:23:54 -04:00
Amin Yahyaabadi
99d584aa06
docs: enhance the readme example to include multiple os, version, and archs
2020-09-06 11:32:03 -05:00
Amin Yahyaabadi
2a5c060ce2
fix: add warning for when arch is supplied but version is missing
2020-09-06 11:09:41 -05:00
Amin Yahyaabadi
2801f51f90
chore: build
...
git clean -ffdx && npm ci && npm run pre-checkin
2020-09-05 06:59:22 -05:00
Amin Yahyaabadi
0a161fe2f9
fix: use arch instead of osArch in INodeVersionInfo
2020-09-05 06:58:15 -05:00
Amin Yahyaabadi
63fffe4411
chore: add line-ending to gitattribute
2020-09-03 13:51:55 -05:00
Amin Yahyaabadi
a83bf51129
test: test using main.run and spying
2020-09-03 12:40:39 -05:00
Amin Yahyaabadi
922f2f9468
test: revert using nock and fixtures
2020-09-03 12:33:53 -05:00
Amin Yahyaabadi
7a3669aa8a
test: add arch tests
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
feat: add nock
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 12:33:50 -05:00
Amin Yahyaabadi
66f3e9f7ce
feat: add arch to queryDistForMatch
2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
82271389a6
feat: add arch to cacheDir
2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
2e40994c28
feat: add arch to getInfoFromDist
2020-09-03 12:22:16 -05:00
Amin Yahyaabadi
c7e4d38541
feat: add arch to downloading message
2020-09-03 12:18:12 -05:00
Amin Yahyaabadi
3eb4bc9d68
feat: add arch to acquireNodeFromFallbackLocation
2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
bf47decdc2
feat: add arch to tc.find
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
6afbfca452
feat: add arch to getInfoFromManifest
2020-09-03 09:03:26 -05:00
Amin Yahyaabadi
3e84c3523b
feat: add arch to INodeVersionInfo
2020-09-03 07:52:40 -05:00
Amin Yahyaabadi
6668516d2a
feat: add arch to resolveVersionFromManifest
2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
f27ebaf08b
feat: add arch to getNode
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
42d59fbc36
feat: add arch to run
2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
2d8887128d
feat: node-arch in action.yml
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 07:52:39 -05:00
Amin Yahyaabadi
0635b31a61
feat: add readme for architecture
...
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>
2020-09-03 07:52:39 -05:00
Bryan MacFarlane
59e61b8951
main workflow references
2020-07-22 08:12:24 -04:00
Maxim Lobanov
321b6ccb03
Switch from "master" to "main" branch ( #171 )
...
* Switch from "master" to "main" branch
* Update README.md
v2.1.1
2020-07-20 12:50:59 -04:00
Maxim Lobanov
1ae8f4b1fd
Implement "check-latest" flag to check if pre-cached version is latest one ( #165 )
v2.1.0
2020-06-29 14:56:37 -04:00
Bryan MacFarlane
0e2f9cde8b
announce v2-beta
2020-05-19 09:57:20 -04:00
Bryan MacFarlane
e434342e4e
download from node-versions and fallback to node dist ( #147 )
...
* download LTS versions from releases
* support upcoiming ghes
Co-authored-by: eric sciple <ericsciple@users.noreply.github.com>
v2.0.0
2020-05-19 09:25:54 -04:00
Bryan MacFarlane
7c6182c745
Update README.md
2020-05-06 09:58:52 -04:00
Bryan MacFarlane
a47b2f66c6
Merge pull request #108 from nschonni/patch-2
...
chore: Swap EOL 8 in example for 12
2020-05-02 11:47:58 -04:00
Bryan MacFarlane
89ea387bde
Merge pull request #141 from fishcharlie/patch-1
...
Changing node-version default to be latest LTS (12.x)
2020-05-02 11:45:15 -04:00
Josh Gross
44c9c18728
Merge pull request #142 from actions/joshmgross/run-tests-on-windows
...
Run test job on windows-latest
v1.4.2
2020-04-21 16:16:40 -04:00
Josh Gross
e715d9a456
Merge pull request #137 from actions/joshmgross/log-node-version
...
Log node and npm versions
2020-04-21 15:45:36 -04:00
Josh Gross
b1f2e78536
Use matrix for workflow
2020-04-21 14:43:21 -04:00
Josh Gross
55897e37f3
Run test job on windows-latest
2020-04-21 14:39:51 -04:00
Josh Gross
46903d1fb1
Await exec calls to ensure proper version ordering
2020-04-21 14:17:29 -04:00
Josh Gross
28505ad4d3
Move version to args
2020-04-21 14:13:03 -04:00
Josh Gross
2d53d29868
Use actions/exec for getting version
2020-04-21 14:03:26 -04:00
Josh Gross
1e163ded31
Quote exec parameters
2020-04-21 11:40:45 -04:00
Josh Gross
ffde538781
Only include npm version if npm exists
2020-04-21 11:23:19 -04:00
Charlie Fish
0cc027b656
Changing node-version default to be latest LTS (12.x)
2020-04-20 17:36:56 -06:00
Bryan MacFarlane
339aa41a8d
Readme update
2020-04-16 18:43:02 -04:00
Bryan MacFarlane
641e88986e
add code of conduct
2020-04-16 14:00:00 -04:00
Josh Gross
e99a7e62b2
Add dist changes
2020-04-16 11:47:45 -04:00
Josh Gross
0dc69b3a71
Remove extra version logging
2020-04-16 10:56:07 -04:00
Josh Gross
52eb8a7524
Log node and npm version
2020-04-16 10:45:55 -04:00
eric sciple
83c9f7a7df
Update tool-cache for download retries ( #120 )
v1.4.1
2020-03-10 11:51:57 -04:00
Nick Schonning
ada4b782b3
chore: Use checkout@v2 for code examples ( #107 )
2020-02-06 14:52:33 -05:00
eric sciple
1c5c1375b3
consume getJson function for better error messages ( #110 )
v1.4.0
2020-02-05 11:20:33 -05:00
Nick Schonning
6b7f6c9fa6
chore: Swap EOL 8 in example for 12
2020-01-31 02:12:22 -05:00
eric sciple
d123f10543
follow proxy settings ( #105 )
2020-01-27 10:37:12 -05:00
David Kale
9a99bb3e35
Merge pull request #88 from actions/arm-installer
...
Get correct url for arm dist
2019-11-20 15:46:02 -05:00
David Kale
93313caf82
Add extra info
2019-11-20 15:30:44 -05:00
David Kale
43d44139c7
Get correct url for arm dist
2019-11-20 12:21:56 -05:00
Bryan MacFarlane
6ecfd2dcb2
Merge pull request #66 from phishy/patch-1
...
Update README.md
2019-10-18 16:37:52 -04:00
Chris Patterson
466ce3c2f0
Update README.md
2019-10-11 10:27:02 -04:00
Jeff Loiselle
f499b0c1ab
Update README.md
2019-09-27 07:31:22 -05:00
Chris Patterson
e565252a9d
Fixing checkout to reference v1 in readme
2019-09-12 15:54:53 -04:00
Danny McCormick
c35dd24c52
Deprecate version property ( #54 )
v1.2.0
2019-09-12 10:30:15 -04:00