Skip to content

Commit 771be41

Browse files
raju-opticlaude
andcommitted
Run UMD tests in CI
Adds a UMD step to the browser_tests job: builds the UMD bundle and tests it in the same BrowserStack browsers. Runs even if the browser tests fail, so both results are reported. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 4482d88 commit 771be41

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎.github/workflows/javascript.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@ jobs:
120120
- name: Browser tests - ${{ matrix.browser }}
121121
working-directory: ./tests/browser
122122
run: npm run test-browser
123+
# Builds the UMD bundle (root build-browser-umd) and tests it in the same browsers.
124+
# Runs even if the browser tests failed, so both results are reported.
125+
- name: UMD tests - ${{ matrix.browser }}
126+
if: ${{ !cancelled() }}
127+
working-directory: ./tests/browser
128+
run: npm run test-umd
123129

124130
# crossbrowser_and_umd_unit_tests:
125131
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)