Skip to content

Commit afabcf9

Browse files
committed
ci: try fixing the cypress cache issue
1 parent 8c01de9 commit afabcf9

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ jobs:
133133
id: cache-cypress
134134
uses: actions/cache@v3
135135
with:
136+
# TODO: avoid snowballing by adding version
136137
key: ${{ runner.os }}-cypress-bin
137138
path: ${{ env.CYPRESS_CACHE_FOLDER }}
138139

@@ -167,10 +168,12 @@ jobs:
167168
working-directory: ../sample-project
168169
run: pnpm build
169170

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') }}
172173
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
174177
175178
- if: ${{ contains(matrix.flag-for-e2e, '--playwright') }}
176179
name: Install Playwright dependencies

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy