diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 63d5ba7..5d34fee 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -29,6 +29,7 @@ jobs: corepack prepare yarn@stable --activate - name: Cache node_modules + id: cache-node-modules uses: actions/cache@v4 with: path: node_modules @@ -37,6 +38,7 @@ jobs: ${{ runner.os }}-node-modules- - name: Install dependencies + if: steps.cache-node-modules.outputs.cache-hit != 'true' run: yarn install --immutable - name: Create env file