From 760e2896eec2056db01bbf4b9d0b8fda94635ad4 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Wed, 24 Nov 2021 19:51:42 +0800 Subject: [PATCH] chore: update build workflow --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ca92183..9d454c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2.3.1 + uses: actions/checkout@v2.4.0 with: persist-credentials: false @@ -24,7 +24,7 @@ jobs: uses: actions/cache@v2 id: cache with: - path: node_modules + path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-node-