Skip to content

Commit a03d7ed

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 f9c90e1 commit a03d7ed

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
@@ -126,6 +126,12 @@ jobs:
126126
- name: Browser tests - ${{ matrix.browser }}
127127
working-directory: ./tests/browser
128128
run: npm run test-browser
129+
# Builds the UMD bundle (root build-browser-umd) and tests it in the same browsers.
130+
# Runs even if the browser tests failed, so both results are reported.
131+
- name: UMD tests - ${{ matrix.browser }}
132+
if: ${{ !cancelled() }}
133+
working-directory: ./tests/browser
134+
run: npm run test-umd
129135

130136
# crossbrowser_and_umd_unit_tests:
131137
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)