Skip to content

Commit

Permalink
test: fix Cypress test flakes (#5086)
Browse files Browse the repository at this point in the history
* ci: cache Cypress binary in install

* try again...

* add wait-on

* remove wait-on...

Co-authored-by: Josh Goldberg <me@joshuakgoldberg.com>
  • Loading branch information
Josh-Cena and JoshuaKGoldberg committed May 28, 2022
1 parent f9c3647 commit 5feb2db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/actions/prepare-install/action.yml
Expand Up @@ -31,7 +31,9 @@ runs:
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
~/.cache/Cypress
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -193,6 +193,9 @@ jobs:
- name: Build
uses: ./.github/actions/prepare-build

- name: Install Cypress
run: yarn cypress install

- name: Cypress run
uses: cypress-io/github-action@v2
with:
Expand Down

0 comments on commit 5feb2db

Please sign in to comment.