forked from Azure/static-web-apps-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (31 loc) · 871 Bytes
/
e2e.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: E2E
on:
push:
branches: [main, ga]
pull_request:
branches: [main, ga]
jobs:
e2e:
runs-on: ${{ matrix.os }}
strategy:
# when one test fails, DO NOT cancel the other
# containers, because this will kill Cypress processes
# https://github.com/cypress-io/github-action/issues/48
fail-fast: false
matrix:
os: [macos-12, windows-latest, ubuntu-20.04]
node-version: [18.x, 20.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v2
with:
record: false
video: false
start: npm run e2e:static
wait-on: "http://0.0.0.0:1234, http://localhost:7071"
wait-on-timeout: 120
env:
DEBUG: "cypress:*"
CI: 1