Skip to content

Commit 26a1494

Browse files
authored
Merge pull request #33 from seek-oss/npm-cache-package-json
Recommend npm caching on `package.json`
2 parents d2a4b47 + 5bd1ceb commit 26a1494

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ steps:
5454
plugins:
5555
- seek-oss/docker-ecr-cache#v1.9.0:
5656
cache-on:
57+
- package.json # avoid cache hits on stale lockfiles
5758
- package-lock.json
5859
- docker#v3.3.0:
5960
volumes:
@@ -236,7 +237,7 @@ Below is a sample set of IAM policy statements that will allow this plugin to wo
236237
- Sid: AllowGetAuthorizationToken
237238
Action:
238239
- ecr:GetAuthorizationToken
239-
Resource: "*"
240+
Resource: '*'
240241
Effect: Allow
241242
```
242243

0 commit comments

Comments
 (0)