chore: update build workflow

This commit is contained in:
yanglbme 2021-11-24 19:51:42 +08:00
parent 656dd79b13
commit 760e2896ee

View File

@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2.3.1 uses: actions/checkout@v2.4.0
with: with:
persist-credentials: false persist-credentials: false
@ -24,7 +24,7 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
id: cache id: cache
with: with:
path: node_modules path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: | restore-keys: |
${{ runner.os }}-node- ${{ runner.os }}-node-