Commit Graph

284 Commits (94f88d78c4057b5883734ba04b3299da3c8955c7)
 

Author SHA1 Message Date
Jef LeCompte 94f88d78c4
Merge remote-tracking branch 'upstream/main' 3 years ago
Vladimir Safonkin 348e008008
Fix node version file parsing (#553)
* Fix node version file parsing

* Build index.js

* Non-json file error handling

* Format code

* Add package.json to e2e tests

* Minor fix
3 years ago
Jef LeCompte d79e93a91d
docs: add package.json information 3 years ago
Jef LeCompte bb59d50268
chore: run prettier 3 years ago
Jef LeCompte 5b579f1638
refactor: check volta first, then engine 3 years ago
Jef LeCompte 9f20343a3a
style: change test name 3 years ago
Jef LeCompte dee2a9689c
chore: run build 3 years ago
Jef LeCompte 57cec77d94
refactor: volta check 3 years ago
Jef LeCompte 5a01179c35
Merge remote-tracking branch 'upstream/main' 3 years ago
mannie.exe 2a814b57e1
Respect `package.json`'s `engines.node` field when used as a `node-version-file` (#485)
* Allow reading 'package.json' as node-version-file

* Run 'npm run build'

* Read package.json contents directly during tests

- this eliminates OS-specific line-ending issues

* Run project Prettier 💅
3 years ago
Dmitry Shibanov 2fddd8803e
fixing pnpm output issue (#545) 3 years ago
Marko Zivic ad8542ca5e
Merge pull request #540 from dmitry-shibanov/fix-error-node-version
Fix error node version output
3 years ago
Dmitry Shibanov 3d11add771 remove unused import 3 years ago
Dmitry Shibanov 072a2e3b10 add trim and silent true 3 years ago
Dmitry Shibanov 28ad38fe06 add try catch 3 years ago
Dmitry Shibanov 48de4c13f6 change to streams 3 years ago
Dmitry Shibanov aab7cc882a add silent 3 years ago
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
3 years ago
Christian Clauss 09ba51f18e
README.md: Encourage testing on current Node.js (#533) 3 years ago
AJ Jordan b3ca1ac971
Support npm-shrinkwrap.json out-of-the-box (#439) 3 years ago
Marko Zivic 78faa555e1
Merge pull request #534 from panva/set-version-output
set node-version output (2022 edition)
3 years ago
Marko Zivic 0f15a51ed6
Merge pull request #528 from jamesottaway/patch-1
docs: Include warning when configuring token to install private packages
3 years ago
Filip Skokan 460f88643a fixup mocked version output 3 years ago
Filip Skokan d8b0944270 add mock for getExecOutput in installer.test.ts 3 years ago
James Ottaway 0ad06209dd
Update advanced-usage.md 3 years ago
Filip Skokan adeb189fd8 apply review feedback 3 years ago
Filip Skokan 0d7418813c run build&format 3 years ago
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
3 years ago
Jef LeCompte 4096f07b51
chore: run prettier 3 years ago
Jef LeCompte 1c48dc5a9e
chore: trim no matter what 3 years ago
Jef LeCompte d86a20eb78
test: fix versionSpec 3 years ago
Jef LeCompte 8211e009a7
docs: update verbiage for package.json 3 years ago
Jef LeCompte dbfbe9b6da
refactor: move volta logic 3 years ago
Jef LeCompte 9aa86428fe
chore: run prettier 3 years ago
Jef LeCompte f40b60859d
docs: add special volta usage 3 years ago
Jef LeCompte a03d9f05e4
test: add node-version-file test 3 years ago
Jef LeCompte 1a4ff5493d
feat: add volta as node-version-file 3 years ago
Marko Zivic 7d610f0c26
Merge pull request #526 from IvanZosimov/CacheVersionUpdate
Add support for the @actions/cache library 3.0.0
3 years ago
IvanZosimov bcb9f31327 Format cache-save.test.ts 3 years ago
IvanZosimov 73ea510762 Update unit-tests for cache-save.ts file, add coverage option to Jest 3 years ago
IvanZosimov eaead3517c Update cache-save.ts to support @actions/cache v3.0.0 lib 3 years ago
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.
3 years ago
Ivan 11c7f932ce
Merge pull request #2 from dmitry-shibanov/v-dmshib/cacheVersionUpdate
Update licenses
3 years ago
Dmitry Shibanov f1702f8f38 update licenses 3 years ago
IvanZosimov 1196f2ae1b Rebuild action with the new @actions/cache dependency 3 years ago
IvanZosimov c22fc3c628 Update the version of @actions/cache library to 3.0.0 3 years ago
Rob cdcc53e14f
Update README.md (#522) 3 years ago
Jack Bates b287e177c9
Document * vs. current/latest/node difference (#508) 3 years ago
Jack Bates eeb10cff27
Support lts/-n aliases (#481) 3 years ago
Hideki Igarashi dbb64ac1d1 Add support for asdf format as Node.js version file 3 years ago