Cache subpackage node_modules in check workflow
This commit is contained in:
parent
8321bc94c6
commit
32284791e2
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- name: Restore cached node_modules
|
- name: Restore cached node_modules
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: node_modules
|
path: '**/node_modules'
|
||||||
key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
|
key: ${{ runner.os }}-${{ matrix.node-version }}-nodemodules-${{ hashFiles('**/yarn.lock') }}
|
||||||
- name: Install missing dependencies
|
- name: Install missing dependencies
|
||||||
run: yarn install --prefer-offline --frozen-lockfile
|
run: yarn install --prefer-offline --frozen-lockfile
|
||||||
|
|
Loading…
Reference in New Issue
Block a user