Skip to content

Commit 6e6bb43

Browse files
author
Rami Bououni
committed
edit
1 parent 983af1a commit 6e6bb43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/pipelines/release/caching.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ When a cache step is encountered during a run, the cache identified by the key i
210210
> [!TIP]
211211
> Because caches are already scoped to a project, pipeline, and branch, there's no need to include any project, pipeline, or branch identifiers in the cache key.
212212

213+
## Examples
214+
213215
### [Bundler](#tab/bundler)
214216

215217
For Ruby projects using Bundler, override the `BUNDLE_PATH` environment variable to set the [path](https://bundler.io/v2.3/man/bundle-config.1.html) where Bundler looks for Gems.
@@ -459,8 +461,6 @@ steps:
459461
npm | "$(Agent.OS)"
460462
path: $(npm_config_cache)
461463
displayName: Cache npm
462-
463-
- script: npm ci
464464
```
465465

466466
If your project doesn't have a `package-lock.json` file, reference the `package.json` file in the cache key input instead.

0 commit comments

Comments
 (0)