Update lockfile documenation

This commit is contained in:
mahabaleshwars 2025-12-15 17:49:00 +05:30
parent 82b32caf9f
commit 01dfa1dfa8

View file

@ -41,11 +41,11 @@ If you choose not to use a lockfile, you must ensure that **caching is disabled*
To run without a lockfile: To run without a lockfile:
1. Do not set the `cache` input. 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 ```yaml
steps: steps:
- uses: actions/checkout@v5 - uses: actions/checkout@v6
- uses: actions/setup-node@v6 - uses: actions/setup-node@v6
with: with:
node-version: '24' node-version: '24'