You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,9 @@ This action provides the following functionality for GitHub Actions users:
16
16
17
17
- Caching is now automatically enabled for npm projects when either the `devEngines.packageManager` field or the top-level `packageManager` field in `package.json` is set to `npm`. For other package managers, such as Yarn and pnpm, caching is disabled by default and must be configured manually using the `cache` input.
18
18
19
-
- The `always-auth` input has been removed, as it is deprecated and will no longer be supported in future npm releases. To ensure your workflows continue to run without warnings or errors, please remove any references to `always-auth` from your configuration.
19
+
- The `always-auth` input has been removed, as it is deprecated and will no longer be supported in future npm releases. To ensure your workflows continue to run without warnings or errors, please remove any references to `always-auth` from your configuration.
20
20
21
-
## Breaking changes in V5
21
+
## Breaking changes in V5
22
22
23
23
- Enabled caching by default with package manager detection if no cache input is provided.
24
24
> For workflows with elevated privileges or access to sensitive information, we recommend disabling automatic caching by setting `package-manager-cache: false` when caching is not needed for secure operation.
@@ -42,22 +42,22 @@ See [action.yml](action.yml)
42
42
node-version: ''
43
43
44
44
# File containing the version Spec of the version to use. Examples: package.json, .nvmrc, .node-version, .tool-versions.
45
-
# If node-version and node-version-file are both provided the action will use version from node-version.
45
+
# If node-version and node-version-file are both provided the action will use version from node-version.
46
46
node-version-file: ''
47
47
48
-
# Set this option if you want the action to check for the latest available version
48
+
# Set this option if you want the action to check for the latest available version
49
49
# that satisfies the version spec.
50
-
# It will only get affect for lts Nodejs versions (12.x, >=10.15.0, lts/Hydrogen).
50
+
# It will only get affect for lts Nodejs versions (12.x, >=10.15.0, lts/Hydrogen).
51
51
# Default: false
52
52
check-latest: false
53
53
54
54
# Target architecture for Node to use. Examples: x86, x64. Will use system architecture by default.
55
-
# Default: ''. The action use system architecture by default
55
+
# Default: ''. The action use system architecture by default
56
56
architecture: ''
57
57
58
-
# Used to pull node distributions from https://github.com/actions/node-versions.
59
-
# Since there's a default, this is typically not supplied by the user.
60
-
# When running this action on github.com, the default value is sufficient.
58
+
# Used to pull node distributions from https://github.com/actions/node-versions.
59
+
# Since there's a default, this is typically not supplied by the user.
60
+
# When running this action on github.com, the default value is sufficient.
61
61
# When running on GHES, you can pass a personal access token for github.com if you are experiencing rate limiting.
62
62
#
63
63
# We recommend using a service account with the least permissions necessary. Also
@@ -78,26 +78,26 @@ See [action.yml](action.yml)
78
78
# default: true
79
79
package-manager-cache: true
80
80
81
-
# Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc.
82
-
# It will generate hash from the target file for primary key. It works only If cache is specified.
81
+
# Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc.
82
+
# It will generate hash from the target file for primary key. It works only If cache is specified.
83
83
# Supports wildcards or a list of file names for caching multiple dependencies.
84
84
# Default: ''
85
85
cache-dependency-path: ''
86
86
87
-
# Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file,
87
+
# Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file,
88
88
# and set up auth to read in from env.NODE_AUTH_TOKEN.
89
89
# Default: ''
90
90
registry-url: ''
91
91
92
-
# Optional scope for authenticating against scoped registries.
92
+
# Optional scope for authenticating against scoped registries.
93
93
# Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/).
Copy file name to clipboardExpand all lines: action.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,13 @@ inputs:
26
26
cache-dependency-path:
27
27
description: 'Used to specify the path to a dependency file: package-lock.json, yarn.lock, etc. Supports wildcards or a list of file names for caching multiple dependencies.'
28
28
mirror:
29
-
description: 'Used to specify an alternative mirror to downlooad Node.js binaries from'
29
+
description: 'Used to specify an alternative mirror to download Node.js binaries from'
30
30
mirror-token:
31
31
description: 'The token used as Authorization header when fetching from the mirror'
32
32
# TODO: add input to control forcing to pull from cloud or dist.
33
33
# escape valve for someone having issues or needing the absolute latest which isn't cached yet
34
34
outputs:
35
-
cache-hit:
35
+
cache-hit:
36
36
description: 'A boolean value to indicate if a cache was hit.'
0 commit comments