Unverified Commit 84c6c286 authored by Licho's avatar Licho Committed by GitHub

feat: add npm dist cache (#1235)

Signed-off-by: 's avatarLicho <chinabhsun@gmail.com> Signed-off-by: 's avatarLicho <chinabhsun@gmail.com>
parent fedbc5bb
......@@ -48,7 +48,9 @@ jobs:
- uses: actions/cache@v3
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with:
path: ${{ steps.npm-cache-dir.outputs.dir }}
path: |
${{ steps.npm-cache-dir.outputs.dir }}
dlink-web/dist
key: ${{ runner.os }}-node-${{ hashFiles('dlink-web/**/package.json') }}
restore-keys: |
${{ runner.os }}-node-
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment