diff --git a/.gitea/workflows/gitea-ci.yml b/.gitea/workflows/gitea-ci.yml index e33f3ed..657a047 100644 --- a/.gitea/workflows/gitea-ci.yml +++ b/.gitea/workflows/gitea-ci.yml @@ -37,17 +37,17 @@ jobs: fi echo "yarn version: $(yarn -v)" - - name: Restore node_modules - id: cache-node + - name: Restore Yarn cache uses: actions/cache@v4 with: - path: node_modules - key: ${{ runner.os }}-yarn-v1-${{ hashFiles('yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn-v1- + path: | + .yarn/cache + .yarn/unplugged + .yarn/install-state.gz + .pnp.cjs + key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock','package.json') }} - name: Install Dependencies with yarn - if: steps.cache-node.outputs.cache-hit != 'true' run: | yarn install --immutable ls .