File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,7 @@ jobs:
133
133
id : cache-cypress
134
134
uses : actions/cache@v3
135
135
with :
136
+ # TODO: avoid snowballing by adding version
136
137
key : ${{ runner.os }}-cypress-bin
137
138
path : ${{ env.CYPRESS_CACHE_FOLDER }}
138
139
@@ -167,10 +168,12 @@ jobs:
167
168
working-directory : ../sample-project
168
169
run : pnpm build
169
170
170
- - name : Force download Cypress on cache miss
171
- if : ${{ contains(matrix.flag-for-e2e, '--cypress') && steps.cache-cypress.outputs.cache-hit != 'true' }}
171
+ - name : Download Cypress
172
+ if : ${{ contains(matrix.flag-for-e2e, '--cypress') }}
172
173
working-directory : ../sample-project
173
- run : pnpm exec cypress install --force
174
+ run : |
175
+ pnpm exec cypress cache list
176
+ pnpm exec cypress install --force
174
177
175
178
- if : ${{ contains(matrix.flag-for-e2e, '--playwright') }}
176
179
name : Install Playwright dependencies
You can’t perform that action at this time.
0 commit comments