Skip to content

Commit 43dc85f

Browse files
authored
Create e2e-tests.yml
1 parent 4e775d3 commit 43dc85f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: E2E Tests
2+
3+
on:
4+
workflow_run:
5+
workflows: [Deploy Staging]
6+
types: [completed]
7+
8+
jobs:
9+
cypress:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- name: Cypress run
14+
uses: cypress-io/github-action@v6
15+
with:
16+
start: npm run start:staging # script that hits staging URL
17+
wait-on: 'http://staging.myapp.com'

0 commit comments

Comments
 (0)