File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : " Copilot Setup Steps "
1+ name : " CI - Build & Test "
22
33on :
44 workflow_dispatch :
55 push :
6- paths :
7- - .github/workflows/copilot-setup-steps.yml
6+ branches : [ main ]
87 pull_request :
9- paths :
10- - .github/workflows/copilot-setup-steps.yml
8+ branches : [ main ]
119
1210jobs :
13- copilot-setup-steps :
11+ test :
1412 runs-on : ubuntu-latest
1513
1614 permissions :
2927 - name : Install Playwright Browsers
3028 run : npx playwright install --with-deps
3129
32- # Customize this step as needed
3330 - name : Build application
34- run : npx run build
31+ run : npm run build
32+
33+ - name : Run Playwright Tests
34+ run : npx playwright test
35+
36+ - name : Upload Playwright Report
37+ uses : actions/upload-artifact@v4
38+ if : always()
39+ with :
40+ name : playwright-report
41+ path : playwright-report/
42+ retention-days : 30
Original file line number Diff line number Diff line change 1414 - name : Setup Node
1515 uses : actions/setup-node@v4
1616
17- - name : Install dependencies
18- run : |
19- node -v
20- npm -v
21- npm ci --no-fund
22-
2317 - name : Check Prettier
2418 run : npm run check-format
2519
You can’t perform that action at this time.
0 commit comments