Skip to content

Commit 95d98da

Browse files
committed
ci: omit branch from npm cache key
1 parent 9546401 commit 95d98da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ jobs:
3939
node-version: "16.*"
4040
- run: node --version && npm --version
4141
- checkout
42-
- node/install-packages
42+
- node/install-packages:
43+
include-branch-in-cache-key: false
4344
- run:
4445
name: Test
4546
command: npm run test
@@ -137,6 +138,7 @@ jobs:
137138
# the Node orb doesn't understand the default cache path on Windows
138139
# make sure to use a path that works with Windows Node.js AND MSYS/MinGW bash
139140
cache-path: "C:/tmp/npm-cache"
141+
include-branch-in-cache-key: false
140142
- run:
141143
name: Test
142144
command: npm run test

0 commit comments

Comments
 (0)