Compare commits

..

404 Commits

Author SHA1 Message Date
eff380dfbc Fix macos latest check failures (#1041)
* Update latest node versions

* Update latest node versions

* Update test data

* Update test data

* Update test data

* Update test data

* Update test data

* macos lts failure fix

* Update macos-13
2024-05-22 08:12:24 -05:00
c2ac33f2c6 Bump undici from 5.26.5 to 5.28.3 (#965)
* Bump undici from 5.26.5 to 5.28.3

Bumps [undici](https://github.com/nodejs/undici) from 5.26.5 to 5.28.3.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.26.5...v5.28.3)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* license and other dependencies update

* updated licenses

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: HarithaVattikuti <73516759+HarithaVattikuti@users.noreply.github.com>
2024-03-13 09:10:22 -05:00
25b062c917 Update README.md to update default Node version to 20 (#949)
The README's default example for setting up Node use version 16, which is at end of life. This PR updates those examples to use 20.
2024-02-13 11:33:00 -06:00
60edb5dd54 Add support for arm64 Windows (#927)
* add support for arm64 Windows

* revert 7z to exe

* add comment

---------

Co-authored-by: aparnajyothi-y <147696841+aparnajyothi-y@users.noreply.github.com>
2024-02-06 22:42:16 -06:00
d86ebcd40b Add support for volta.extends (#921)
* Add support for `volta.extends`

* Code review
2023-12-29 15:01:21 +05:30
b39b52d121 Fix node-version-file interprets entire package.json as a version (#865) 2023-12-14 13:53:26 +01:00
7247617371 Add package.json to node-version-file list of examples. (#879) 2023-12-13 13:02:47 +01:00
f3ec4ca66f Fix README.md (#898)
* Fix URL of locally-cached Node.js version in README

* Change example of Major versions in Supported version syntax

setup-node v4 supports node v20, but these example may
cause misunderstanding like a v20 is not supported.

---------

Co-authored-by: fusagiko/takayamaki <takayamaki@users.noreply.github.com>
2023-12-13 12:46:19 +01:00
ec97f37504 Add fix for cache (#917) 2023-12-13 12:42:40 +01:00
5ef044f9d0 Update reusable workflows to use Node.js v20 (#889) 2023-11-13 17:32:30 +01:00
c45882a6ea update to setup-node@v4 in docs (#884) 2023-11-13 17:02:44 +01:00
ee36e8b5c0 Ignore engines check in Yarn 1 e2e-cache tests (#882) 2023-11-10 15:16:46 +01:00
8f152de45c Update actions/checkout for documentation and yaml (#876) 2023-10-23 16:22:01 +02:00
23755b521f upgrade actions/checkout to v4 (#868) 2023-10-23 15:57:08 +02:00
54534a2a9b Change node version for action to node20 (#866) 2023-10-23 15:20:20 +02:00
1a4442cacd Update toolkit cache and core (#875) 2023-10-23 12:20:07 +02:00
6e9e44895f Merge pull request #872 from akv-platform/add-notice-about-binaries-not-being-updated
Add notice about binaries not being updated yet
2023-10-19 17:20:27 +02:00
e52912ef25 Update tests 2023-10-19 17:12:39 +02:00
ac16ae42d7 Update message to use waning instead of info 2023-10-19 16:59:10 +02:00
5a8d9111e3 Update build 2023-10-19 14:31:08 +02:00
9e956a555c Add notice about binaries not being updated yet 2023-10-19 13:43:56 +02:00
7da2a7eb0c Bump @babel/traverse from 7.15.4 to 7.23.2 (#870) 2023-10-19 10:40:59 +02:00
2a017f350d Merge pull request #859 from actions/update-temp-directory-creation
Update temp directory creation
2023-10-09 07:12:35 +02:00
72c43c2d8f Update semver (#861) 2023-09-27 12:57:35 +02:00
d3ace34546 Update build 2023-09-25 16:37:45 +02:00
acbf0586b1 Fix typo 2023-09-25 15:58:01 +02:00
f1744b62b7 Update license 2023-09-25 15:58:01 +02:00
2651591c72 Update temporary directory creation 2023-09-25 15:58:01 +02:00
5e21ff4d9b Remove filter for cached paths (#831) 2023-08-15 15:53:46 +02:00
bea5baf987 change getinput to getstate for cache (#816) 2023-08-10 16:32:24 +02:00
d82f92a0eb Bump word-wrap from 1.2.3 to 1.2.4 (#815)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-04 09:56:30 +02:00
ca2d4e0cdd feat: handling the case where "node" is used for tool-versions file. (#812) 2023-07-18 13:01:34 +02:00
c7a93deeac resolve SymbolicLink (#809) 2023-07-13 14:06:23 +02:00
34050076a5 Add check for existing paths (#803) 2023-07-13 14:03:41 +02:00
f8aa08ed8e Update check-dist workflow name (#710) 2023-07-12 19:35:39 +02:00
e2d34eacc8 Fix armv7 cache issue (#794) 2023-07-12 16:09:57 +02:00
ef9c88b169 Bump semver from 6.1.2 to 6.3.1 (#807) 2023-07-12 13:17:54 +02:00
ea800d4ebc Bump tough-cookie and @azure/ms-rest-js (#802) 2023-07-12 12:47:57 +02:00
cb95c398f6 Update toolkit cache to fix zstd (#804) 2023-07-12 12:13:18 +02:00
69b2dd252e Refer to semver package name in README.md (#808) 2023-07-11 10:03:08 +02:00
e33196f742 Do not ivalidate the cache entirely on lock file change (#744)
* Do not ivalidate the cache entirely on yarn3 lock file change

* Use cache prefix if all sub-projects are yarn managed

* Rename functions & add e2e tests
2023-06-27 13:07:43 +02:00
c6722d36aa update doc for frozen lock file (#789) 2023-06-22 15:55:14 +02:00
8170e22e8f Detect cached folders from multiple directories (#735)
* Add project-dir

* Fix find lock file

* Remove package-dir input

* format & resolve conflicts

* Add unit tests

* build dist

* Apply change request fixes

* handle non-dir cache-dependency-path

* bump cache version

* run checks

* Handle globs in cacheDependencyPath

* refactor, introduce `cacheDependencyPathToProjectsDirectories`

it is necessary for the next PR related yarn optimization

* Changes requests

* Apply fixes

* review fixes

* add e2e

* Add unique

* review updates

* review updates second stage

* Review fixes 3

* imporve e2e tests
2023-06-21 17:52:17 +02:00
698d50532e Fix description about ensuring workflow access to private package (#704) 2023-06-15 17:10:28 +02:00
869f4dd0c7 Merge pull request #758 from akv-platform/remove-implicit-dependencies
Remove implicit dependencies
2023-05-26 08:31:08 +02:00
10efafcbcf Update canary version in tests to an existing one 2023-05-25 14:57:36 +02:00
7d16907b89 Add missing dependency 2023-05-23 16:33:19 +02:00
d0d39bda2f Move eslint-plugin-node to dev dependencies 2023-05-23 11:58:21 +02:00
15a2477e08 Install eslint-plugin-node 2023-05-23 11:43:00 +02:00
7598dbcd6e Update configuration files 2023-05-23 08:38:21 +00:00
a9893b0cfb Update to node 18.x (#751) 2023-05-10 16:04:46 +02:00
5b32c9063c Update xml2js (#742) 2023-04-20 12:55:12 +02:00
d98fa11138 bugfix: Don't attempt to use Windows fallbacks on non-Windows OSes (#718) 2023-04-11 09:31:41 +02:00
9d255ef245 Adjust usage section (#734) 2023-04-06 10:52:43 +02:00
e828f9b7f3 Fix glob bug in package.json scripts section (#729) 2023-04-03 12:46:05 +02:00
a4fcaaf314 Update configuration files (#708)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-15 00:27:36 +01:00
10f5623502 Merge pull request #705 from akv-platform/reusable-workflow
Turn on automatic update of ESLint and Prettier configuration files
2023-03-10 10:55:11 +01:00
fcd18100cc Add update-config-files.yml 2023-03-08 11:13:04 +01:00
962678f22c Add and configure ESLint and update configuration for Prettier (#703)
* Add ESLinter and update Prettier

* Update eslint config

* Update dependencies

* Rebuild action

* Update package.json

* Updates docs

* Update docs
2023-03-08 10:47:38 +02:00
7c29869aec docs: fix typo in advanced-usage.md (#697) 2023-02-20 11:15:36 +01:00
ae9f0f7448 Update workflow badges (#685) 2023-01-31 08:45:30 +02:00
3dbcda8bc2 Update release-new-action-version.yml (#664) 2023-01-12 13:50:58 +01:00
f38519bb96 Fix a minor typo (#662) 2023-01-11 01:01:08 +01:00
9227cda3f0 Replace workflow badge with new badge (#653) 2023-01-10 10:59:38 +01:00
64ed1c7eab Add support for v8-canary, nightly and rc (#655) 2023-01-05 13:16:21 +01:00
92a57f4a93 Merge pull request #650 from actions/update-code-owners
Update CODEOWNERS
2022-12-27 09:28:45 +01:00
99e61d697a Update CODEOWNERS 2022-12-26 09:44:31 +01:00
3e8819f8f2 Merge pull request #649 from actions/update-codeowners
Update CODEOWNERS
2022-12-23 08:27:39 +01:00
8cd2fb28b8 Update CODEOWNERS 2022-12-23 00:07:20 +01:00
c406543918 Merge pull request #647 from akv-platform/apply-reusable-workflows
Update action to use reusable workflows
2022-12-22 10:48:47 +02:00
92a07fe466 Fix review points 2022-12-20 16:40:38 +01:00
217387cf3e Update action to use reusable-workflows repo 2022-12-19 13:43:06 +01:00
2db3663870 Merge branch 'main' of https://github.com/akv-platform/setup-node into apply-reusable-workflows 2022-12-19 13:41:43 +01:00
bbe2ac79a1 Fix typo in README (#646) 2022-12-19 10:12:38 +01:00
f5ab623822 Add links to reusable workflows 2022-12-15 16:39:43 +01:00
ca97bf7f80 Update workflows 2022-12-15 16:09:18 +01:00
fe4d514f1a Update codeql-analysis workflow 2022-12-15 15:05:14 +01:00
8151ea11a4 Setup codeql-analysis workflow 2022-12-15 14:41:30 +01:00
772ffdda26 Update package.json 2022-12-14 13:44:44 +01:00
da188081b1 Update workflows to use reusable-workflows 2022-12-14 13:42:03 +01:00
377c6dae40 Merge pull request #639 from akv-platform/v-sdolin/early-return
Use early return pattern to avoid nested conditions
2022-12-12 11:12:53 +01:00
b28830cbe2 replace throw with warn 2022-12-12 10:21:16 +01:00
676975d9aa Use early return pattern 2022-12-09 11:41:54 +01:00
d1b197b965 Merge pull request #637 from akv-platform/v-sdolin/npmrc-dup
Fix scoped registries are duplicated in npmrc
2022-12-06 12:14:53 +01:00
069a4f8926 Add dist 2022-12-05 13:37:05 +01:00
e77eaaccd3 Add unit tests 2022-12-05 13:36:23 +01:00
a69d45adcd Add modification of scoped registry 2022-12-05 13:32:26 +01:00
3ae886ede4 Update to latest actions/publish-action (#630) 2022-11-28 19:06:52 +01:00
41acaa2e85 fix version output from file (#625) 2022-11-17 14:43:40 +01:00
2349c84f5c Add support for nightly and rc versions (#611) 2022-11-17 14:35:58 +01:00
6bc15ab23c Update minimatch (#608) 2022-11-14 13:34:05 +01:00
9b8fcdc725 change datadog to ubuntu docker image (#620) 2022-11-09 18:18:47 +01:00
00e1b6691b Pass the token input through on GHES (#595) 2022-11-02 12:24:44 +01:00