Skip to content

Commit 4736a6b

Browse files
Copilotdgreif
andcommitted
Convert from Karma/Chai/Mocha to Vitest with Playwright browser mode
Co-authored-by: dgreif <[email protected]>
1 parent eeae67a commit 4736a6b

File tree

10 files changed

+1914
-2397
lines changed

10 files changed

+1914
-2397
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,18 @@ permissions:
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [22, 24]
811
steps:
912
- uses: actions/checkout@v4
10-
- name: Use Node.js
13+
- name: Use Node.js ${{ matrix.node-version }}
1114
uses: actions/setup-node@v4
1215
with:
13-
node-version: 22
16+
node-version: ${{ matrix.node-version }}
1417
cache: npm
1518
- run: npm install
19+
- run: npx playwright install chromium
1620
- run: npm run build
1721
- run: npm test
1822
env:

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
- uses: actions/checkout@v4
1616
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 22
18+
node-version: 24
1919
registry-url: https://registry.npmjs.org/
2020
cache: npm
2121
- run: npm ci
22+
- run: npx playwright install chromium
2223
- run: npm test
2324
- run: npm version ${TAG_NAME} --git-tag-version=false
2425
env:

karma.config.cjs

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)