Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5feb2db

Browse files
test: fix Cypress test flakes (typescript-eslint#5086)
* ci: cache Cypress binary in install * try again... * add wait-on * remove wait-on... Co-authored-by: Josh Goldberg <[email protected]>
1 parent f9c3647 commit 5feb2db

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/actions/prepare-install/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ runs:
3131
- uses: actions/cache@v3
3232
id: yarn-cache
3333
with:
34-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
34+
path: |
35+
${{ steps.yarn-cache-dir-path.outputs.dir }}
36+
~/.cache/Cypress
3537
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3638
restore-keys: |
3739
${{ runner.os }}-yarn-

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,9 @@ jobs:
193193
- name: Build
194194
uses: ./.github/actions/prepare-build
195195

196+
- name: Install Cypress
197+
run: yarn cypress install
198+
196199
- name: Cypress run
197200
uses: cypress-io/github-action@v2
198201
with:

0 commit comments

Comments
 (0)