mirror of
https://github.com/nocobase/nocobase.git
synced 2026-12-06 22:23:41 +08:00
ci(frontend): broaden dependency cache key
This commit is contained in:
1 parent
3b5847fb51
commit
272023d4c3
1 file changed
+1
-1
@@ -45,7 +45,7 @@ jobs:
|
||||
uses: actions/cache/restore@v4
|
||||
with:
|
||||
path: node_modules.tar
|
||||
key: frontend-node-modules-v1-${{ runner.os }}-node-${{ matrix.node_version }}-${{ hashFiles('yarn.lock') }}
|
||||
key: frontend-node-modules-v2-${{ runner.os }}-node-${{ matrix.node_version }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/**/package.json', '.env.example', '.env.test.example', 'patches/**') }}
|
||||
|
||||
- name: Use Node.js ${{ matrix.node_version }}
|
||||
if: steps.restore-dependencies.outputs.cache-hit != 'true'
|
||||
|
||||
Reference in new issue
Block a user