Unverified Commit d0660f51 authored by Licho's avatar Licho Committed by GitHub

fix: npm cache error (#1229)

* fix: npm cache error Signed-off-by: 's avatarLicho <chinabhsun@gmail.com> * empty * feat: cancel-in-progress: true Signed-off-by: 's avatarLicho <chinabhsun@gmail.com> Signed-off-by: 's avatarLicho <chinabhsun@gmail.com>
parent b26d02a4
...@@ -28,7 +28,6 @@ on: ...@@ -28,7 +28,6 @@ on:
concurrency: concurrency:
group: backend-${{ github.event.pull_request.number || github.ref }} group: backend-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs: jobs:
build_npm: build_npm:
...@@ -50,7 +49,7 @@ jobs: ...@@ -50,7 +49,7 @@ jobs:
id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true' id: npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
with: with:
path: ${{ steps.npm-cache-dir.outputs.dir }} path: ${{ steps.npm-cache-dir.outputs.dir }}
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-node-${{ hashFiles('dlink-web/**/package.json') }}
restore-keys: | restore-keys: |
${{ runner.os }}-node- ${{ runner.os }}-node-
- name: Install Dependencies - name: Install Dependencies
......
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