fix: blob URL sourceURL resolution (#437) #805
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
jobs: | |
test-firefox: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
firefox: [ | |
'65.0', # (60 = modules support, but not working) | |
'67.0', # import(), import.meta | |
'89.0', # top-level await | |
'108.0', | |
'126.0', # before integrity | |
] | |
name: Firefox Browser Tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Chomp | |
uses: guybedford/chomp-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: | |
- name: Setup Firefox ${{ matrix.firefox }} | |
uses: browser-actions/setup-firefox@latest | |
with: | |
firefox-version: ${{ matrix.firefox }} | |
- name: Chomp Test | |
run: chomp test | |
env: | |
CI_BROWSER: C:\Program Files\Firefox_${{ matrix.firefox }}\firefox.exe | |
CI_BROWSER_FLAGS: -headless | |
CI_BROWSER_FLUSH: taskkill /F /IM firefox.exe | |
test-chrome: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
chrome: [ | |
'695071', # ~September 2019 | |
'859178', # Mar 2021, Import Maps | |
'913920', # August 2021, JSON modules + CSS modules | |
'1306171', # May 2024, just before integrity | |
] | |
name: Chrome Browser Tests | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Chomp | |
uses: guybedford/chomp-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- name: Setup Chrome ${{ matrix.chrome }} | |
uses: browser-actions/setup-chrome@latest | |
with: | |
chrome-version: ${{ matrix.chrome }} | |
- name: Chomp Test | |
run: chomp test | |
env: | |
CI_BROWSER: C:\hostedtoolcache\windows\setup-chrome\chromium\${{ matrix.chrome }}\x64\chrome.exe | |
CI_BROWSER_FLAGS: |