Commit Graph

111 Commits (05f3e9f4fa11a3f46405c87784e404e3031f5667)
 

Author SHA1 Message Date
Dmitry Shibanov 05f3e9f4fa remove eol in gitattributes
Dmitry Shibanov 3d0d4edb10
Add node's caching implementation ()
* 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 ()

* 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
Robert Stoll 5c355be170
use 14 instead of 12 in README beacuse peoply copy ()
Guangcong Luo 46071b5c7a
Fix TypeScript error line/column ()
* 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>
Nick Schonning 05f0551dbd
chore: operating-system -> os ()
Schema validation was flagging the old property name
Bryan MacFarlane 23bdee16bc
Clarifications to the README () ()
* Update README.md

* Update README.md

Co-authored-by: Bryan MacFarlane <bryanmacfarlane@github.com>

Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
dependabot[bot] 4257181919
Bump acorn from 5.7.3 to 5.7.4 ()
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>
dependabot[bot] 7f4d5225d8
Bump lodash from 4.17.15 to 4.17.19 ()
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>
Rohan Chougule 68fafecfa4
refactor: use core.info instead of console.log ()
Maxim Lobanov c46424eee2
Merge pull request from actions/v-malob/update-readme-v2
Update readme before releasing actions/setup-node V2
Maxim Lobanov 1d846de8c0 Merge branch 'main' into v-malob/update-readme-v2
Maxim Lobanov d06286dee6
Merge pull request from zodman/main
Check for NODE_AUTH_TOKEN overwritten
Andres Vargas d8c1b596a6 Merge branch 'main' of github.com:actions/setup-node into main
Maxim Lobanov 2bfa943ffb
Update build-test.yml
Maxim Lobanov 6c8a6e529a
Update README.md
Maxim Lobanov 27082cecf3
Merge pull request from aminya/arch
Arch option for setup-node
Amin Yahyaabadi 05e7d6cc23 Add e2e arch test
Amin Yahyaabadi d6fea3c137 update message to be more general
This considers self-hosted runners
Josh Gross 4667755142
Merge pull request from actions/joshmgross/add-codeowners
Add CODEOWNERS
Amin Yahyaabadi 2bbfc7698a Add Architecture only example
Amin Yahyaabadi 5984462aaa Rename node-arch to architecture
Amin Yahyaabadi aabe026707 Merge remote-tracking branch 'upstream/main' into arch
Josh Gross b7cfa22539
Add CODEOWNERS
nulltoken 70b9252472
[Readme] Using `check-latest` requires `v2-beta` ()
Andres Vargas 7d147e85af unstage changes
Andres Vargas 66dfac5328 update comment
Andres Vargas 312bbeecfd update changes
Andres Vargas 26a6dcb73b update the index file
Andres Vargas f4215cc0e0 fix format
Andres Vargas 14e150d2b1 update changes
Andres Vargas 5da2d61209 remove space
Andres Vargas a600caf7cc remove debug
Andres Vargas 8dde5bc004 adding test for NODE_AUTH_TOKEN overwritten
Thomas Boop c6fd00ceb9
Swap to env files ()
* Swap to env files

* revert to old method for tests

* disable executing of commands during tests

* bump package.json @actions/core version
Amin Yahyaabadi 2f532cef8f
Merge branch 'main' into arch
Thomas Boop c211e95e60
Add `Licensed` To Help Verify Prod Licenses ()
* add licensed workflow and config files

* manual dependency verification

* Hide generated license files in pr
Amin Yahyaabadi 99d584aa06 docs: enhance the readme example to include multiple os, version, and archs
Amin Yahyaabadi 2a5c060ce2 fix: add warning for when arch is supplied but version is missing
Amin Yahyaabadi 2801f51f90 chore: build
git clean -ffdx && npm ci && npm run pre-checkin
Amin Yahyaabadi 0a161fe2f9 fix: use arch instead of osArch in INodeVersionInfo
Amin Yahyaabadi 63fffe4411 chore: add line-ending to gitattribute
Amin Yahyaabadi a83bf51129 test: test using main.run and spying
Amin Yahyaabadi 922f2f9468 test: revert using nock and fixtures
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>
Amin Yahyaabadi 66f3e9f7ce feat: add arch to queryDistForMatch
Amin Yahyaabadi 82271389a6 feat: add arch to cacheDir
Amin Yahyaabadi 2e40994c28 feat: add arch to getInfoFromDist
Amin Yahyaabadi c7e4d38541 feat: add arch to downloading message
Amin Yahyaabadi 3eb4bc9d68 feat: add arch to acquireNodeFromFallbackLocation
Amin Yahyaabadi bf47decdc2 feat: add arch to tc.find
Co-Authored-By: Tyler Ang-Wanek <tylerw@axosoft.com>