Dmitry Shibanov
28ad38fe06
add try catch
2022-07-12 10:45:50 +02:00
Dmitry Shibanov
48de4c13f6
change to streams
2022-07-12 10:36:10 +02:00
Dmitry Shibanov
aab7cc882a
add silent
2022-07-12 10:30:30 +02:00
Marko Zivic
5b949b50c3
Merge pull request #373 from ganta/add-support-for-asdf-format-as-node-version-file
...
Add support for asdf format as Node.js version file
v3.4.0
2022-07-11 13:48:55 +02:00
Christian Clauss
09ba51f18e
README.md: Encourage testing on current Node.js ( #533 )
2022-07-07 14:53:32 +02:00
AJ Jordan
b3ca1ac971
Support npm-shrinkwrap.json out-of-the-box ( #439 )
2022-07-04 23:29:56 +02:00
Marko Zivic
78faa555e1
Merge pull request #534 from panva/set-version-output
...
set node-version output (2022 edition)
2022-07-04 14:45:20 +02:00
Marko Zivic
0f15a51ed6
Merge pull request #528 from jamesottaway/patch-1
...
docs: Include warning when configuring token to install private packages
2022-07-04 10:38:01 +02:00
Filip Skokan
460f88643a
fixup mocked version output
2022-07-01 01:30:18 +02:00
Filip Skokan
d8b0944270
add mock for getExecOutput in installer.test.ts
2022-07-01 01:27:37 +02:00
James Ottaway
0ad06209dd
Update advanced-usage.md
2022-07-01 09:12:46 +10:00
Filip Skokan
adeb189fd8
apply review feedback
2022-07-01 00:46:13 +02:00
Filip Skokan
0d7418813c
run build&format
2022-07-01 00:28:26 +02:00
Filip Skokan
3ac35dad40
This PR adds node-version
to the action output.
...
This is present in e.g. setup-python
https://github.com/actions/setup-python/blob/main/action.yml
closes #150
2022-06-30 21:56:36 +02:00
Jef LeCompte
4096f07b51
chore: run prettier
2022-06-30 09:57:00 -07:00
Jef LeCompte
1c48dc5a9e
chore: trim no matter what
2022-06-30 09:22:35 -07:00
Jef LeCompte
d86a20eb78
test: fix versionSpec
2022-06-30 09:17:18 -07:00
Jef LeCompte
8211e009a7
docs: update verbiage for package.json
2022-06-29 15:39:34 -07:00
Jef LeCompte
dbfbe9b6da
refactor: move volta logic
2022-06-29 15:37:53 -07:00
Jef LeCompte
9aa86428fe
chore: run prettier
2022-06-29 15:11:14 -07:00
Jef LeCompte
f40b60859d
docs: add special volta usage
2022-06-29 12:30:42 -07:00
Jef LeCompte
a03d9f05e4
test: add node-version-file test
2022-06-29 12:28:21 -07:00
Jef LeCompte
1a4ff5493d
feat: add volta as node-version-file
2022-06-29 12:01:42 -07:00
Marko Zivic
7d610f0c26
Merge pull request #526 from IvanZosimov/CacheVersionUpdate
...
Add support for the @actions/cache library 3.0.0
2022-06-28 10:07:26 +02:00
IvanZosimov
bcb9f31327
Format cache-save.test.ts
2022-06-27 10:19:35 +02:00
IvanZosimov
73ea510762
Update unit-tests for cache-save.ts file, add coverage option to Jest
2022-06-27 10:17:28 +02:00
IvanZosimov
eaead3517c
Update cache-save.ts to support @actions/cache v3.0.0 lib
2022-06-27 10:11:42 +02:00
James Ottaway
24301fe9fb
docs: Include warning when configuring token to install private packages
...
The distinction between `secrets.GITHUB_TOKEN` and `secrets.NPM_TOKEN` cost myself and a colleague numerous hours when we were trying to fix a GitHub Actions workflow which needed to install a private package from a different repository from our GitHub organisation.
Given the issue dedicated to this point is closed, we should include a warning here to make it more clear why `secrets.GITHUB_TOKEN` will not work when passed to `npm ci`, in the presence of private packages from other GitHub Package repositories.
2022-06-27 09:28:13 +10:00
Ivan
11c7f932ce
Merge pull request #2 from dmitry-shibanov/v-dmshib/cacheVersionUpdate
...
Update licenses
2022-06-24 14:53:04 +02:00
Dmitry Shibanov
f1702f8f38
update licenses
2022-06-24 12:47:26 +02:00
IvanZosimov
1196f2ae1b
Rebuild action with the new @actions/cache dependency
2022-06-24 12:36:36 +02:00
IvanZosimov
c22fc3c628
Update the version of @actions/cache library to 3.0.0
2022-06-24 12:22:20 +02:00
Rob
cdcc53e14f
Update README.md ( #522 )
2022-06-17 20:47:55 +02:00
Jack Bates
b287e177c9
Document * vs. current/latest/node difference ( #508 )
2022-06-14 14:13:13 +02:00
Jack Bates
eeb10cff27
Support lts/-n aliases ( #481 )
v3.3.0
2022-06-02 12:30:33 +02:00
Hideki Igarashi
dbb64ac1d1
Add support for asdf format as Node.js version file
2022-05-30 20:13:04 +09:00
Hideki Igarashi
82496765f3
Add tests for parseNodeVersionFile
2022-05-30 20:05:14 +09:00
Dmitry Shibanov
ed1a46e9f2
Update zeit/ncc to vercel/ncc ( #476 )
2022-05-30 11:56:20 +02:00
Marko Zivic
daff393d43
Merge pull request #496 from panticmilos/v-mpantic/get-latest-version-from-cache
...
Get latest version from cache if exists
2022-05-30 09:13:35 +02:00
panticmilos
b14573ddb9
remove installer import
2022-05-23 12:53:31 +02:00
panticmilos
7569de03e7
rename dist manifest to node versions
2022-05-20 16:32:52 +02:00
panticmilos
b20a2561b9
get manifest once
2022-05-20 13:45:28 +02:00
_XiaoTian
ea3459bb45
docs: Update advanced-usage.md ( #495 )
...
* Update advanced-usage.md
* Update advanced-usage.md
* Update advanced-usage.md
* Update docs/advanced-usage.md
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>
2022-05-19 13:32:26 -04:00
panticmilos
141334fcd1
remove unnecessary dist call
2022-05-19 18:21:03 +02:00
panticmilos
808c8f917f
remove bumping deps
2022-05-19 17:38:21 +02:00
panticmilos
fd1b409bc3
unit tests
2022-05-19 17:33:13 +02:00
panticmilos
9a03ebd9cc
run build
2022-05-19 17:06:51 +02:00
panticmilos
45e544a71a
fix versionSpec required error
2022-05-19 17:02:08 +02:00
panticmilos
8c66f89aef
improve latest version syntax
2022-05-19 16:48:16 +02:00
tooomm
3601f2a33e
improve version syntax presentation ( #493 )
2022-05-18 09:50:55 +02:00
Jack Bates
4d62fafc05
Add test for node-version * ( #491 )
2022-05-18 09:50:05 +02:00
Milos Pantic
17f8bd9264
Expand current syntax to support aliases for latest version (current/latest/node) ( #483 )
v3.2.0
2022-05-12 17:26:02 +02:00
Jon Koops
b067f78ed3
Use CI friendly commands in documentation ( #326 )
2022-05-05 16:16:51 +02:00
Matthias Christoph Munder
0bd06765ef
Improve advanced usage docs ( #472 )
2022-05-01 16:59:15 +02:00
Adam Stachowicz
25184c4485
Update README.md ( #475 )
...
* Update README.md
* Update README.md
2022-04-26 11:11:03 -04:00
Araxeus
337fdf2194
fix broken link in readme ( #473 )
...
* fix broken link
* fix broken link
2022-04-22 08:58:19 -04:00
Philipp Bammes
86bf502a33
extend documentation on scope
parameter ( #470 )
...
This also ends all descriptions with a full stop (`.`).
2022-04-19 13:43:19 -04:00
Dmitry Shibanov
146c4d84a5
improve caching documentation ( #468 )
2022-04-18 16:15:27 +02:00
Deepak Dahiya
56337c4255
Updated @actions/cache ( #460 )
...
* Updated @actions/cache
* Licensed cache
* new build
* Updated version
v3.1.1
2022-04-11 19:06:18 +05:30
Anil Seervi
76d3665dc0
Convert CONDUCT to CODE_OF_CONDUCT.md ( #391 )
...
* Rename CONDUCT to CODE_OF_CONDUCT.md
* Update CODE_OF_CONDUCT link
2022-04-05 11:16:57 -04:00
Peter Mescalchin
5b52f097d3
Bump actions/checkout@v3
within advanced usage examples documentation ( #456 )
v3.1.0
2022-04-01 10:41:49 +02:00
Peter Mescalchin
75716637dc
Bump to actions/checkout@v3
( #437 )
2022-04-01 10:13:52 +02:00
Peter Mescalchin
546fd45825
Updated documentation/workflows to use actions/setup-node@v3
( #433 )
...
* Update documentation `actions/setup-node@v2` -> `actions/setup-node@v3`
* Bump workflows to `actions/setup-node@v3`
* Update `README.md` workflow status badges to new format
2022-03-31 15:14:07 -04:00
Dmitry Shibanov
bacd6b4b3a
Caching on GHES ( #452 )
...
* add support for ghes caching
* fix licesnses
* work on resolving comments
* change internal error to warning
* fix warning for internal errors
* update version
2022-03-31 15:10:37 -04:00
Brian Cristante
bed538bd04
Merge pull request #448 from actions/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-03-24 09:33:20 -04:00
dependabot[bot]
f3e93d1b9d
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-24 11:54:46 +00:00
Brian Cristante
ed960c9656
Merge pull request #440 from actions/joshmgross/service-codeowners
...
Update CODEOWNERS to actions-service
2022-03-10 13:32:59 -05:00
Josh Gross
77f43a4400
Update CODEOWNERS to actions-service
2022-03-10 13:27:02 -05:00
Dmitry Shibanov
9ced9a43a2
remove version input ( #424 )
v3.0.0
2022-02-24 16:31:57 +03:00
Dmitry Shibanov
3e90744edf
Update lockfileVersion ( #422 )
2022-02-24 14:42:19 +03:00
Thomas Boop
28df918a56
Update default runtime to node16 ( #414 )
2022-02-22 11:28:24 +03:00
Meng Ye
f099707f6e
fix tsc build error for @actions/http-client ( #402 )
2022-01-11 13:06:36 +03:00
Nick Schonning
f658dc5bd7
ci: use NPM cache in check-dist ( #393 )
2022-01-06 16:27:25 +03:00
Oscar Dominguez
5e2e068714
ci(workflow): add cache to workflows using actions/setup-node ( #287 )
2021-12-30 17:05:57 +03:00
HonkingGoose
7a0f7a9962
Fix grammar in the README ( #331 )
2021-12-30 17:01:04 +03:00
Nick Schonning
7b558676dd
chore: Remove strategy for non-matrix builds ( #186 )
2021-12-30 16:58:49 +03:00
Dmitry Shibanov
1f8c6b94b2
Pass to warning uncaught exceptions ( #359 )
v2.5.1
2021-12-28 12:25:43 +03:00
Dmitry Shibanov
9a74eb4e64
Throw error only if exit code is note zero. ( #358 )
2021-12-27 12:34:06 +03:00
Dmitry Shibanov
04c56d2f95
update cache to 1.0.8 ( #367 )
v2.5.0
2021-11-29 13:35:08 +03:00
Hargun Kaur
d08cf22211
Adding Node.js version file support ( #338 )
2021-11-29 12:18:31 +03:00
Alexander Forbes-Reed
360ab8b75b
Fix typo in the bug_report
template ( #353 )
2021-11-03 13:20:09 +03:00
Dmitry Shibanov
fd4bd829f2
Add issue and pull request templates ( #344 )
2021-10-18 13:39:58 +03:00
Dmitry Shibanov
a4b8ed2f4e
Update dependencies ( #346 )
2021-10-14 13:18:01 +03:00
MaksimZhukov
270253e841
Merge pull request #327 from WtfJoke/addCacheHitOutPut
...
Add 'cache-hit' as output
v2.4.1
2021-09-24 18:27:23 +03:00
Manuel
d1178716db
Add 'cache-hit' as output
2021-09-23 13:17:32 +00:00
MaksimZhukov
041bafb672
Merge pull request #322 from brcrista/brcrista/check-dist
...
Create check-dist.yml
2021-09-16 18:12:52 +03:00
Brian Cristante
996306e892
rm __tests__/verify-no-unstaged-changes.sh
2021-09-16 10:54:26 -04:00
Brian Cristante
85d4122530
Fix triggers in licensed.yml
2021-08-25 11:29:51 -04:00
Brian Cristante
928244ce45
Add check-dist.yml
2021-08-25 11:29:50 -04:00
MaksimZhukov
25316bbc1f
Merge pull request #305 from MaksimZhukov/mazhuk/adding-support-for-monorepos
...
Support caching for mono repos and repositories with complex structure
v2.4.0
2021-08-05 19:17:12 +03:00
Maxim Lobanov
76a4cff9ae
update readme and dist files
2021-08-05 12:00:47 +00:00
Maxim Lobanov
a869e7cc2d
Merge branch 'main' of https://github.com/MaksimZhukov/setup-node into mazhuk/adding-support-for-monorepos
2021-08-05 11:48:54 +00:00
MaksimZhukov
a0cdab1110
Merge pull request #299 from actions/malob/adr-caching-monorepos
...
ADR for support caching for mono repos and repositories with complex structure
2021-08-05 10:53:54 +03:00
Alena Sviridenko
4d0182af5e
Merge pull request #310 from actions/revert-308-v-alsvir/disable-cache-usage-temp-v2
...
Revert "Temporarily disabled cache usage for v2"
v2.3.2
2021-08-04 17:21:06 +03:00
Alena Sviridenko
896ee80599
Restore YARN flag
2021-08-04 17:04:32 +03:00
Alena Sviridenko
d21ecc7c5b
Revert "Temporarily disabled cache usage for v2"
2021-08-04 17:00:35 +03:00
Alena Sviridenko
d6e3b5539e
Merge pull request #308 from actions/v-alsvir/disable-cache-usage-temp-v2
...
Temporarily disabled cache usage for v2
v2.3.1
2021-08-03 19:20:30 +03:00
AlyonaSviridenko
db716f881a
Add yarn env variable
2021-08-03 18:53:52 +03:00
AlyonaSviridenko
c24389f79e
Staging unstaged
2021-08-03 18:37:52 +03:00
AlyonaSviridenko
004fb83876
Temporarily disabled cache usage
2021-08-03 18:33:25 +03:00