mirror of
https://github.com/scratchfoundation/scratch-desktop.git
synced 2025-01-08 13:41:59 -05:00
ci: omit branch from npm cache key
This commit is contained in:
parent
95464010a1
commit
95d98daa2f
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,8 @@ jobs:
|
||||||
node-version: "16.*"
|
node-version: "16.*"
|
||||||
- run: node --version && npm --version
|
- run: node --version && npm --version
|
||||||
- checkout
|
- checkout
|
||||||
- node/install-packages
|
- node/install-packages:
|
||||||
|
include-branch-in-cache-key: false
|
||||||
- run:
|
- run:
|
||||||
name: Test
|
name: Test
|
||||||
command: npm run test
|
command: npm run test
|
||||||
|
@ -137,6 +138,7 @@ jobs:
|
||||||
# the Node orb doesn't understand the default cache path on Windows
|
# the Node orb doesn't understand the default cache path on Windows
|
||||||
# make sure to use a path that works with Windows Node.js AND MSYS/MinGW bash
|
# make sure to use a path that works with Windows Node.js AND MSYS/MinGW bash
|
||||||
cache-path: "C:/tmp/npm-cache"
|
cache-path: "C:/tmp/npm-cache"
|
||||||
|
include-branch-in-cache-key: false
|
||||||
- run:
|
- run:
|
||||||
name: Test
|
name: Test
|
||||||
command: npm run test
|
command: npm run test
|
||||||
|
|
Loading…
Reference in a new issue