chore: caching

This commit is contained in:
cha0s 2024-02-13 04:48:05 -06:00
parent 9e81730530
commit 344e435283

View File

@ -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