Replacing Karma with Web Test Runner #1
Workflow file for this run
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
# This workflow will do a clean install of node dependencies, build the source | |
# code and run tests across different versions of browsers | |
name: Browsers CI | |
on: | |
push: | |
branches: [ main, 4.x.x, 5.x.x ] | |
pull_request: | |
branches: [ main, 4.x.x, 5.x.x ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
browser-name: | |
- chrome | |
- firefox | |
- webkit | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ${{ matrix.browser-name }} | |
uses: actions/setup-node@v3 | |
- run: npm ci | |
- run: npm run build --if-present | |
- run: npm test-chrome -- --browsers ${{ matrix.browser-name }} |