diff --git a/.github/actions/sync-workspace/action.yml b/.github/actions/sync-workspace/action.yml index 82228333e..9c4862d68 100644 --- a/.github/actions/sync-workspace/action.yml +++ b/.github/actions/sync-workspace/action.yml @@ -28,8 +28,8 @@ runs: REBUILD_PACKAGE: ${{ inputs.rebuild-package }} with: path: | - .yarn - node_modules + .yarn/cache + .yarn/install-state.gz packages/**/node_modules key: node-${{ runner.os }}-${{ runner.arch }}-${{ env.NODE_MODULE_CACHE_VERSION }}-${{ hashFiles('**/yarn.lock') }} enableCrossOsArchive: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71e495225..f8f70df7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: # Update this list also in .github/actions/sync-workspace/action.yml with exactly the same list path: | .yarn/cache - /yarn/install-state.gz + .yarn/install-state.gz node_modules packages/**/node_modules key: node-${{ runner.os }}-${{ runner.arch }}-${{ env.NODE_MODULE_CACHE_VERSION }}-${{ hashFiles('yarn.lock') }}