Skip to content

Commit 095a111

Browse files
committed
chore: Switch to vitest for testing
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
1 parent 7c3a202 commit 095a111

File tree

216 files changed

+16409
-4809
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+16409
-4809
lines changed

.github/workflows/release-please.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,17 @@ jobs:
5555
if: ${{ steps.release.outputs.release_created }}
5656
run: |
5757
npm ci
58+
sudo npx playwright install chromium --with-deps
5859
npm run install-build-deps
5960
60-
- name: Build
61-
if: ${{ steps.release.outputs.release_created }}
61+
- name: Lint
6262
run: |
63-
npm run build
63+
npm run lint
6464
65-
- name: Prime gecko webdriver
65+
- name: Build
6666
if: ${{ steps.release.outputs.release_created }}
67-
working-directory: packages/base91
6867
run: |
69-
npm run test || echo "Prime gecko webdriver"
68+
npm run build
7069
7170
- name: Test
7271
if: ${{ steps.release.outputs.release_created }}
@@ -77,7 +76,6 @@ jobs:
7776
if: ${{ steps.release.outputs.release_created }}
7877
run: |
7978
npm run coverage
80-
npm run coverage-report
8179
8280
- name: Update Coveralls
8381
if: ${{ steps.release.outputs.release_created }}

.github/workflows/test-and-publish.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ jobs:
4545
- name: Install Dependencies
4646
run: |
4747
npm ci
48+
sudo npx playwright install chromium --with-deps
4849
npm run install-build-deps
49-
50+
5051
- name: Lint
5152
run: |
5253
npm run lint
@@ -55,11 +56,6 @@ jobs:
5556
run: |
5657
npm run build
5758
58-
- name: Prime gecko webdriver
59-
working-directory: packages/base91
60-
run: |
61-
npm run test || echo "Prime gecko webdriver"
62-
6359
- name: Test
6460
run: |
6561
npm run test
@@ -68,7 +64,6 @@ jobs:
6864
if: ${{ matrix.node == 20 }}
6965
run: |
7066
npm run coverage
71-
npm run coverage-report
7267
7368
- name: Upload error logs
7469
if: ${{ failure() || cancelled() }}

0 commit comments

Comments
 (0)