chore: caching
This commit is contained in:
parent
9e81730530
commit
344e435283
6
.github/workflows/dox.yml
vendored
6
.github/workflows/dox.yml
vendored
|
@ -33,11 +33,13 @@ jobs:
|
|||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
- uses: actions/cache@v2
|
||||
- id: cache-node-modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: '**/node_modules'
|
||||
key: ${{ hashFiles('**/package-lock.json') }}
|
||||
- run: |
|
||||
- if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
npm install --omit=dev
|
||||
cd website
|
||||
npm install
|
||||
|
|
Loading…
Reference in New Issue
Block a user