mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Include package.json content in cache key
This commit is contained in:
parent
815929cfc1
commit
35ba0194b2
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -18,7 +18,7 @@ jobs:
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: '**/node_modules'
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-cacheNodeModules2-${{ hashFiles('**/package-lock.json') }}
|
key: ${{ runner.os }}-cacheNodeModules2-${{ hashFiles('**/package-lock.json', '**/package.json') }}
|
||||||
restore-keys: ${{ runner.os }}-cacheNodeModules2-
|
restore-keys: ${{ runner.os }}-cacheNodeModules2-
|
||||||
|
|
||||||
- name: execute `npm ci` (1)
|
- name: execute `npm ci` (1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue