Skip to content

Commit 5fddb2d

Browse files
author
Maxim Lobanov
committed
Update 0000-caching-dependencies.md
1 parent 8c35c6c commit 5fddb2d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/adrs/0000-caching-dependencies.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ We don't persue the goal to provide wide customization of caching in scope of `a
3030
- if input contains wildcards (like `**/package-lock.json`), hash of multiple files will be used
3131
- The hash of file provided in `package-lock-path` input will be used as cache key (the same approach like [actions/cache](https://github.com/actions/cache/blob/main/examples.md#node---npm) recommends)
3232
- The following key cache will be used `${{ runner.os }}-npm-${{ hashFiles('<package-lock-path>') }}`
33+
- Action will cache global npm cache directory (retrieved via `npm config get cache`)
3334

3435
# Example of real use-cases
3536
Default use case when `package-lock.json` or `yarn.lock` are located in repository root:

0 commit comments

Comments
 (0)