forked from ustaxcourt/ef-cms
-
Notifications
You must be signed in to change notification settings - Fork 10
45 lines (42 loc) · 1.18 KB
/
e2e-cypress-public.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
38
39
40
41
42
43
44
45
name: E2E Cypress Public
on:
pull_request:
jobs:
e2e_cypress_public:
runs-on: ubuntu-latest
env:
CI: true
CHECK_DEPLOY_DATE_INTERVAL: 5000
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.14.0'
- name: Setup OpenSearch
uses: ankane/setup-opensearch@v1
with:
opensearch-version: 2.11
- name: Setup DynamoDB Local
uses: rrainn/[email protected]
with:
port: 8000
cors: '*'
- name: Collect Workflow Telemetry
uses: runforesight/workflow-telemetry-action@v2
with:
comment_on_pr: false
- name: Install Node Dependencies
run: npm ci
- name: Run E2E Cypress
run: |
mkdir -p /tmp/cypress/
npm run start:all:ci >> /tmp/cypress/cypress-output.txt &
./wait-until-services.sh
sleep 5
npm run cypress:integration:public
- name: Store Cypress Failure Videos
if: always()
uses: actions/upload-artifact@v4
with:
name: cypress-videos
path: ${{ github.workspace }}/cypress/local-only/videos