fix(workflow): turn cache on

This commit is contained in:
Ilia Mashkov
2026-01-14 16:02:24 +03:00
parent 83397f3786
commit 976672ce5e

View File

@@ -36,6 +36,16 @@ jobs:
# path: ${{ github.workspace }}/.yarn/cache # path: ${{ github.workspace }}/.yarn/cache
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: ${{ runner.os }}-yarn- # restore-keys: ${{ runner.os }}-yarn-
#
- name: Persistent Yarn Cache
uses: actions/cache@v4
id: yarn-cache
with:
# In Yarn Berry, the cache is local to the project
path: .yarn/cache
# Ensure a clean key without hidden newline characters
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Install dependencies - name: Install dependencies
# --immutable ensures the lockfile isn't changed (replaces --frozen-lockfile) # --immutable ensures the lockfile isn't changed (replaces --frozen-lockfile)