mirror of
https://github.com/actions/setup-node.git
synced 2025-12-25 01:37:07 +00:00
Update lockfile documenation
This commit is contained in:
parent
82b32caf9f
commit
01dfa1dfa8
1 changed files with 2 additions and 2 deletions
|
|
@ -41,11 +41,11 @@ If you choose not to use a lockfile, you must ensure that **caching is disabled*
|
|||
|
||||
To run without a lockfile:
|
||||
1. Do not set the `cache` input.
|
||||
2. If your `package.json` contains a ``packageManager` field set to npm (or devEngines.packageManager), automatic caching is enabled by default. Override this by setting package-manager-cache: false.
|
||||
2. If your `package.json` contains a `packageManager` field set to npm (or devEngines.packageManager), automatic caching is enabled by default. Override this by setting `package-manager-cache: false`.
|
||||
|
||||
```yaml
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: '24'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue