Skip to content

Commit 8dc2b14

Browse files
Improve CI test visibility and upload build artifacts
- Add --reporter=list to show each test name and status - Always upload test artifacts, not just on failure - Upload Chrome extension bundle from test job - Upload Firefox extension bundle from lint job 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 97aee7e commit 8dc2b14

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,26 @@ jobs:
5555
run: npm run build:chrome
5656

5757
- name: Run tests
58-
run: npm test
58+
run: npm test -- --reporter=list
59+
60+
- name: Upload Chrome extension
61+
uses: actions/upload-artifact@v4
62+
with:
63+
name: chrome-extension
64+
path: build/bundle/*.zip
65+
retention-days: 7
5966

6067
- name: Upload Playwright report
6168
uses: actions/upload-artifact@v4
62-
if: failure()
69+
if: always()
6370
with:
6471
name: playwright-report
6572
path: playwright-report/
6673
retention-days: 7
6774

6875
- name: Upload test results
6976
uses: actions/upload-artifact@v4
70-
if: failure()
77+
if: always()
7178
with:
7279
name: test-results
7380
path: test-results/
@@ -95,3 +102,10 @@ jobs:
95102

96103
- name: Lint extension
97104
run: npm run lint
105+
106+
- name: Upload Firefox extension
107+
uses: actions/upload-artifact@v4
108+
with:
109+
name: firefox-extension
110+
path: build/bundle/*.xpi
111+
retention-days: 7

0 commit comments

Comments
 (0)