Commit Graph

200 Commits

Author SHA1 Message Date
Thomas Boop 558ef89cd9
Update default runtime to node16
Node 12 has an end of life on April 30, 2022.

This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/), rather then node12. 

This is supported on all Actions Runners v2.285.0 or later.
2022-02-07 14:04:45 -05: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) 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) 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
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
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"
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
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
MaksimZhukov 180b77fed2 Update the caching section in the README 2021-08-03 17:18:13 +03:00
MaksimZhukov 9f31dbbbc4 Support caching for mono repos and repositories with complex structure 2021-08-02 20:44:59 +03:00
MaksimZhukov aa759c6c94
Merge pull request #278 from jacobwgillespie/cache-pnpm
Add pnpm caching support
2021-07-20 15:22:13 +03:00
Jacob Gillespie 0ae03de2b7
Reorder to npm, yarn, pnpm 2021-07-15 20:14:30 +01:00
Maxim Lobanov 4bc87b8e10
Bump e2e tests to 6.10.0 2021-07-15 14:51:41 +03:00
Jacob Gillespie b96348a4e9
Remove unused imports 2021-07-15 12:46:07 +01:00
Jacob Gillespie 3af302a4f2
Switch to pnpm store path command 2021-07-15 12:43:19 +01:00
Jacob Gillespie f452812b44
Unmock fs.existsSync after tests 2021-07-15 12:40:08 +01:00
Maxim Lobanov f43d8a1f27 Update 0001-support-caching-deps-for-monorepos.md 2021-07-15 13:23:09 +03:00
Jacob Gillespie e93556ca66
Mock fs.existsSync in tests 2021-07-14 20:11:07 +01:00
Jacob Gillespie 0453e516eb
Regenerate compiled files 2021-07-14 15:25:55 +01:00
Jacob Gillespie 399982b368
Move existence check to cache-save 2021-07-14 15:25:45 +01:00
Jacob Gillespie d278e78bdd
Add logic to check that cache folder exists 2021-07-14 13:06:33 +01:00
Jacob Gillespie fdbc93ea6e
Add disclaimer to pnpm action example, pin action 2021-07-14 13:03:28 +01:00
Jacob Gillespie f24e78e0f6
Update __tests__/cache-save.test.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2021-07-14 13:01:18 +01:00
Maxim Lobanov 3c1fbef7d3 Update 0001-support-caching-deps-for-monorepos.md 2021-07-13 20:35:24 +03:00
Maxim Lobanov 5aa72c249a
Apply suggestions from code review
Co-authored-by: Alena Sviridenko <alenasviridenko@github.com>
2021-07-13 19:36:58 +03:00
Maxim Lobanov d9aab2aba4 dra 2021-07-13 16:28:09 +03:00
Jacob Gillespie 162ddf7c40
Add pnpm caching support 2021-06-30 20:17:23 +01:00
Maxim Lobanov 38d90ce44d
Merge pull request #277 from actions/malob/update-readme
Update readme to describe new NVM LTS syntax
2021-06-30 15:20:50 +03:00