Skip to content

Commit 91157ec

Browse files
committed
fix
1 parent 13dc40e commit 91157ec

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/tests.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,20 +169,25 @@ jobs:
169169
steps:
170170
- name: Checkout code
171171
uses: actions/checkout@master
172-
- uses: actions/setup-node@v2
172+
- uses: actions/setup-node@v3
173173
with:
174174
node-version-file: '.nvmrc'
175175
cache: 'yarn'
176+
177+
- name: Install Firefox
178+
run: sudo apt-get install -y firefox
179+
180+
- name: Upgrade Cypress
181+
run: yarn add cypress@latest --dev
182+
176183
- name: Fetch Node Packages
177184
run: |
178185
yarn --immutable
179186
yarn build
180187
181188
- name: Run e2e tests
182-
run: |
183-
yarn test:chat:${{ matrix.browser }}
189+
run: xvfb-run --auto-servernum yarn test:chat:${{ matrix.browser }}
184190

185191
- name: Run unit tests
186192
working-directory: ./packages/inject
187-
run: |
188-
yarn test
193+
run: yarn test

0 commit comments

Comments
 (0)