Skip to content

Commit d815a07

Browse files
committed
ci: Fix cache name
1 parent 47e5a61 commit d815a07

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/actions/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
~/.cache/Cypress # needed for the Cypress binary
1717
key: ${{ runner.os }}-npm-dependencies-${{ hashFiles('package-lock.json') }}
1818
- name: Npm install
19-
if: steps.cache.outputs.cache-hit != 'true'
19+
if: steps.cache-dependencies-restore.outputs.cache-hit != 'true'
2020
run: npm ci
2121
shell: bash
2222
- name: Cache npm dependencies

nx.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
"!{projectRoot}/src/test-setup.[jt]s",
1616
"!{projectRoot}/test-setup.[jt]s"
1717
],
18-
"sharedGlobals": []
18+
"sharedGlobals": [
19+
"{workspaceRoot}/.github/**/*"
20+
]
1921
},
2022
"plugins": [
2123
{

0 commit comments

Comments
 (0)