-
-
Notifications
You must be signed in to change notification settings - Fork 506
66 lines (54 loc) · 1.76 KB
/
Copy pathproduction-e2e.yml
File metadata and controls
66 lines (54 loc) · 1.76 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Production E2E Tests
on:
workflow_dispatch:
schedule:
- cron: "0 8 * * *"
permissions:
contents: read
concurrency:
group: production-e2e
cancel-in-progress: false
jobs:
e2e:
runs-on: ubuntu-latest
timeout-minutes: 30
defaults:
run:
working-directory: src/Exceptionless.Web/ClientApp
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node.js environment
uses: actions/setup-node@v6
with:
node-version: 24
- name: Install Npm Packages
run: npm ci
- name: Install Playwright Chromium
run: npx playwright install chromium --with-deps
- name: Run Production E2E Tests
env:
E2E_URL: https://be.exceptionless.io
E2E_RUN_ID: production-${{ github.run_id }}-${{ github.run_attempt }}
run: npm run test:e2e:prod
- name: Write Summary
if: ${{ always() }}
run: |
echo "### Production E2E Tests" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "- Run ID: production-${{ github.run_id }}-${{ github.run_attempt }}" >> $GITHUB_STEP_SUMMARY
echo "- E2E URL: https://be.exceptionless.io" >> $GITHUB_STEP_SUMMARY
- name: Upload Playwright Report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v5
with:
name: production-playwright-report
path: src/Exceptionless.Web/ClientApp/playwright-report/
retention-days: 14
- name: Upload Playwright Test Results
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v5
with:
name: production-playwright-test-results
path: src/Exceptionless.Web/ClientApp/test-results/
retention-days: 14