Skip to content

Commit 1eebb5d

Browse files
committed
Try with updated Cypress GH Action
1 parent 63f1215 commit 1eebb5d

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
matrix:
1717
node: [14]
1818
steps:
19-
- uses: actions/checkout@master
19+
- name: Checkout
20+
uses: actions/checkout@v2
2021

2122
- name: Setup environment
2223
id: setups
@@ -51,27 +52,31 @@ jobs:
5152
- name: Build # Tests to see if a build can succeed
5253
run: yarn build
5354
E2E:
54-
runs-on: ubuntu-latest
55+
runs-on: ubuntu-20.04
5556
name: e2e
5657
strategy:
5758
matrix:
5859
browser: [chrome, firefox]
5960
timeout-minutes: 20
6061
container:
61-
image: cypress/included:10.0.3
62+
image: cypress/browsers:node14.17.0-chrome88-ff89
6263
options: --user 1001 --shm-size=2g # @see https://github.com/cypress-io/github-action/issues/104#issuecomment-666047965
63-
env:
64-
CYPRESS_BROWSER: ${{ matrix.browser }}
64+
# env:
65+
# CYPRESS_BROWSER: ${{ matrix.browser }}
6566
steps:
66-
- uses: actions/checkout@v2
67+
- name: Checkout
68+
uses: actions/checkout@v2
69+
6770
- name: Test E2E
68-
uses: cypress-io/github-action@v2.6.1
71+
uses: cypress-io/github-action@v4
6972
with:
7073
browser: ${{ matrix.browser }}
7174
env: coverage=true
75+
7276
- name: Install code coverage
7377
run: |-
7478
yarn global add codecov;
7579
echo "$(yarn global bin)" >> $GITHUB_PATH;
80+
7681
- name: Code coverage
7782
run: codecov;

0 commit comments

Comments
 (0)