Start hashing the package.json too
This commit is contained in:
parent
f6fd10b87e
commit
247b829054
1 changed files with 6 additions and 6 deletions
12
.github/workflows/full_build.yml
vendored
12
.github/workflows/full_build.yml
vendored
|
@ -42,7 +42,7 @@ jobs:
|
|||
name: Use Node package cache
|
||||
with:
|
||||
path: node_modules
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock', '**/package.json') }}
|
||||
restore-keys: |
|
||||
bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-
|
||||
- name: install node packages
|
||||
|
@ -98,7 +98,7 @@ jobs:
|
|||
name: Use Node package cache
|
||||
with:
|
||||
path: node_modules
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock', '**/package.json') }}
|
||||
restore-keys: |
|
||||
bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-
|
||||
- uses: actions/cache@v1
|
||||
|
@ -130,7 +130,7 @@ jobs:
|
|||
name: Use Node package cache
|
||||
with:
|
||||
path: node_modules
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock', '**/package.json') }}
|
||||
restore-keys: |
|
||||
bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-
|
||||
- name: run jest
|
||||
|
@ -150,7 +150,7 @@ jobs:
|
|||
name: Use Node package cache
|
||||
with:
|
||||
path: node_modules
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock', '**/package.json') }}
|
||||
restore-keys: |
|
||||
bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-
|
||||
- name: run yarn eslint
|
||||
|
@ -194,7 +194,7 @@ jobs:
|
|||
name: Use Node package cache
|
||||
with:
|
||||
path: node_modules
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock', '**/package.json') }}
|
||||
restore-keys: |
|
||||
bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-
|
||||
- name: run setup
|
||||
|
@ -239,7 +239,7 @@ jobs:
|
|||
name: Use Node package cache
|
||||
with:
|
||||
path: node_modules
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||
key: bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('**/yarn.lock', '**/package.json') }}
|
||||
restore-keys: |
|
||||
bundle-use-node-js-${{ matrix.os }}-${{ matrix.node }}-
|
||||
- name: run setup
|
||||
|
|
Loading…
Reference in a new issue