-
Notifications
You must be signed in to change notification settings - Fork 16
37 lines (35 loc) · 910 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
36
37
name: E2E Tests
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "yarn"
node-version-file: ".nvmrc"
- uses: actions/setup-go@v3
with:
go-version: "1.22"
- uses: cypress-io/github-action@v6
with:
browser: chrome
build: make install-gno
start: |
yarn start --minify
make start.gnodev-e2e
wait-on: "http://localhost:8888, http://localhost:8081"
- name: Upload errors screenshots
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots