Skip to content

Commit 5b8f9d5

Browse files
Copilotdgreif
andcommitted
Migrate from Karma/Mocha/Chai to Vitest with Playwright
Co-authored-by: dgreif <[email protected]>
1 parent a7822ce commit 5b8f9d5

File tree

13 files changed

+3386
-3991
lines changed

13 files changed

+3386
-3991
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,17 @@ on: [push, pull_request]
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
node-version: [22, 24]
1013
steps:
1114
- uses: actions/checkout@v4
1215
- uses: actions/setup-node@v4
1316
with:
14-
node-version: 22
17+
node-version: ${{ matrix.node-version }}
1518
cache: npm
19+
- name: Install Playwright browsers
20+
run: npx playwright install --with-deps chromium
1621
- name: npm install, build, and test
1722
run: |
1823
npm install

.github/workflows/publish-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 22
19+
node-version: 24
2020
cache: npm
2121

2222
- run: npm install

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ 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
21+
- run: npx playwright install --with-deps chromium
2122
- run: npm ci
2223
- run: npm test
2324
- run: npm version ${TAG_NAME} --git-tag-version=false

karma.config.cjs

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

0 commit comments

Comments
 (0)