From 976672ce5e91333700f5dff8ac5613d28ee414b6 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Wed, 14 Jan 2026 16:02:24 +0300 Subject: [PATCH] fix(workflow): turn cache on --- .gitea/workflows/workflow.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index b585968..7be85ba 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -36,6 +36,16 @@ jobs: # path: ${{ github.workspace }}/.yarn/cache # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} # 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 # --immutable ensures the lockfile isn't changed (replaces --frozen-lockfile)