-
-
Notifications
You must be signed in to change notification settings - Fork 698
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replacing Karma with Web Test Runner (#1546)
* Replace Karma with Web Test Runner * remove karma dependencies * remove `assertion-error` from commonjs plugin list * remove redundant mocha options * run browsers in ci * fix ci script * change name from chrome to chromium * install playwright dependencies * import chai from correct place * drop checking in safari
- Loading branch information
Kristján Oddsson
authored
Oct 23, 2023
1 parent
54d3e6b
commit 0fc290b
Showing
22 changed files
with
2,685 additions
and
3,600 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# 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: | ||
- chromium | ||
- firefox | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: ${{ matrix.browser-name }} | ||
uses: actions/setup-node@v3 | ||
- run: npm ci | ||
- run: npx playwright install --with-deps | ||
- run: npm run build --if-present | ||
- run: npm run test-chrome -- --browsers ${{ matrix.browser-name }} |
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 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
Oops, something went wrong.