From 3b1dcdc718a51af9fed402a4855ddd97670f0016 Mon Sep 17 00:00:00 2001 From: Balint Morasz Date: Thu, 26 Oct 2023 15:31:49 +0200 Subject: [PATCH] fix: really fix the cache key & try built-in cache --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1aa1d2c..0871af9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,14 +17,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: 18.x + cache: 'npm' + cache-dependency-path: frontend/yarn.lock - name: Cache NPM packages uses: actions/cache@v3 with: - key: npm-${{ hashFiles('./frontend/package-lock.json') }} + key: npm-${{ hashFiles('./frontend/yarn.lock') }} path: | ./frontend/node_modules restore-keys: | - npm-${{ hashFiles('./frontend/package-lock.json') }} + npm-${{ hashFiles('./frontend/yarn.lock') }} npm- - name: Yarn Install run: |