mirror of
https://github.com/morbalint/kemkas.git
synced 2026-07-17 19:03:46 +00:00
fix: really fix the cache key & try built-in cache
This commit is contained in:
@@ -17,14 +17,16 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: frontend/yarn.lock
|
||||||
- name: Cache NPM packages
|
- name: Cache NPM packages
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
key: npm-${{ hashFiles('./frontend/package-lock.json') }}
|
key: npm-${{ hashFiles('./frontend/yarn.lock') }}
|
||||||
path: |
|
path: |
|
||||||
./frontend/node_modules
|
./frontend/node_modules
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
npm-${{ hashFiles('./frontend/package-lock.json') }}
|
npm-${{ hashFiles('./frontend/yarn.lock') }}
|
||||||
npm-
|
npm-
|
||||||
- name: Yarn Install
|
- name: Yarn Install
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user