diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 734dd7f6b..52a650466 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -45,7 +45,7 @@ jobs: yarn-build- - name: Install dependencies - if: steps.cache-yarn.outputs.cache-hit != 'true' + if: steps.cache-node-modules.outputs.cache-hit != 'true' run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile - name: Format files with Prettier @@ -110,7 +110,7 @@ jobs: - name: Fetch dependencies from cache if: steps.changed-files.outputs.any_changed == 'true' - id: cache-yarn + id: cache-node-modules uses: actions/cache@v3 with: path: "node_modules" @@ -119,7 +119,7 @@ jobs: yarn-build- - name: Install dependencies - if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-yarn.outputs.cache-hit != 'true' + if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-node-modules.outputs.cache-hit != 'true' run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile - name: Lint shell files @@ -157,7 +157,7 @@ jobs: - name: Fetch dependencies from cache if: steps.changed-files.outputs.any_changed == 'true' - id: cache-yarn + id: cache-node-modules uses: actions/cache@v3 with: path: "node_modules" @@ -166,7 +166,7 @@ jobs: yarn-build- - name: Install dependencies - if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-yarn.outputs.cache-hit != 'true' + if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-node-modules.outputs.cache-hit != 'true' run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile - name: Lint TypeScript files @@ -200,7 +200,7 @@ jobs: - name: Fetch dependencies from cache if: steps.changed-files.outputs.any_changed == 'true' - id: cache-yarn + id: cache-node-modules uses: actions/cache@v3 with: path: "node_modules" @@ -209,7 +209,7 @@ jobs: yarn-build- - name: Install dependencies - if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-yarn.outputs.cache-hit != 'true' + if: steps.changed-files.outputs.any_changed == 'true' && steps.cache-node-modules.outputs.cache-hit != 'true' run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile - name: Run tsc on TypeScript files