-
Notifications
You must be signed in to change notification settings - Fork 0
79 lines (74 loc) · 2.65 KB
/
playwright.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Playwright Tests
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
test-webui:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: LuisEnMarroquin/[email protected]
with:
SSHKEY: ${{ secrets.CC_GA }} # ----- BEGIN RSA PRIVATE KEY----- ...
- run: ssh -T [email protected] || true
- uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node version to 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: build packages
run: pnpm run -r build
- name: Install Playwright Browsers
run: cd packages/webui && pnpm exec playwright install --with-deps
- name: Build fe
run: cd packages/webui && npm run build
- name: Run Playwright tests
run: cd packages/webui && pnpm exec playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: packages/webui/playwright-report/
retention-days: 30
test-landapp:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: LuisEnMarroquin/[email protected]
with:
SSHKEY: ${{ secrets.CC_GA }} # ----- BEGIN RSA PRIVATE KEY----- ...
- run: ssh -T [email protected] || true
- uses: actions/checkout@v3
with:
submodules: recursive
ssh-key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDkAa2Y049BCOYn0m2IINqBTjO18HtiOia4QRDkmClCy4/fQLcPsmQ7C7cE3TDGFNbIcm17jl3wQXCd8y1SBi6iWhcHXskI+HCtzN/NASBstljcuhx6gll3xjFhWj2XN2zwmpLzOVsCj7K34N8FRmEaPcrB3D0pKg89qO3SCPETFAwuzLFWsPzXWtDL6O90qbO1AGg2vQrucRvvIiQ2IOg8eMidXszgVi8kanfuh4zVRn+NINpNZMYFabkj6HfbGX9QyRyOS2cznKCG8MXIbIJiK9jTR0Yd0/WaUHRk69fBB0p5zhhVsrMvBAM/RjLKg1ePgJctYPTFPJMc59/MwCB3 cc_ga"
- name: Install pnpm
uses: pnpm/[email protected]
- name: Set node version to 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: build packages
run: pnpm run -r build
- name: Install Playwright Browsers
run: cd packages/land_app && pnpm exec playwright install --with-deps
- name: Build fe
run: cd packages/land_app && npm run build
- name: Run Playwright tests
run: cd packages/land_app && pnpm exec playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: packages/land_app/playwright-report/
retention-days: 30