From 483c7f1b59d47cfb9b5583159dd0ca91c4aa95ce Mon Sep 17 00:00:00 2001 From: Chi Ma Date: Mon, 10 Jul 2023 13:50:13 +0700 Subject: [PATCH] chore: force cache key --- .github/workflows/unit-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 57c9f4e143..7f5498e2bf 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -144,7 +144,7 @@ jobs: plugins/web/*/package-lock.json propagators/*/node_modules propagators/*/package-lock.json - key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('package.json', 'detectors/node/*/package.json', 'metapackages/*/package.json', 'packages/*/package.json', 'plugins/node/*/package.json', 'plugins/web/*/package.json', 'propagators/*/package.json') }} + key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('package.json', 'detectors/node/*/package.json', 'metapackages/*/package.json', 'packages/*/package.json', 'plugins/node/*/package.json', 'plugins/web/*/package.json', 'propagators/*/package.json') }}-v2 - name: Legacy Peer Dependencies for npm 7 if: matrix.node == '16' run: npm config set legacy-peer-deps=true @@ -197,7 +197,7 @@ jobs: plugins/web/*/package-lock.json propagators/*/node_modules propagators/*/package-lock.json - key: ${{ runner.os }}${{ matrix.node }}-browser-${{ hashFiles('package.json', 'detectors/node/*/package.json', 'metapackages/*/package.json', 'packages/*/package.json', 'plugins/node/*/package.json', 'plugins/web/*/package.json', 'propagators/*/package.json') }} + key: ${{ runner.os }}${{ matrix.node }}-browser-${{ hashFiles('package.json', 'detectors/node/*/package.json', 'metapackages/*/package.json', 'packages/*/package.json', 'plugins/node/*/package.json', 'plugins/web/*/package.json', 'propagators/*/package.json') }}-v2 - name: Install Root Dependencies run: npm install --ignore-scripts - name: Bootstrap Dependencies