Archived
1
0

fixup!: update ids for caching

This commit is contained in:
Joe Previte 2022-09-19 13:01:32 -07:00
parent 614f047e53
commit f9b3bda9d5
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -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