Skip to content

Commit 8116aaa

Browse files
authored
Merge pull request #276 from GordonSmith/VITEST
chore: Switch to vitest for testing
2 parents 7c3a202 + 9c0b24b commit 8116aaa

File tree

101 files changed

+2373
-4818
lines changed

Some content is hidden

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

101 files changed

+2373
-4818
lines changed

.github/workflows/release-please.yml

Lines changed: 10 additions & 12 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,13 +76,12 @@ jobs:
7776
if: ${{ steps.release.outputs.release_created }}
7877
run: |
7978
npm run coverage
80-
npm run coverage-report
8179
82-
- name: Update Coveralls
83-
if: ${{ steps.release.outputs.release_created }}
84-
uses: coverallsapp/github-action@v2
85-
with:
86-
github-token: ${{ secrets.GITHUB_TOKEN }}
80+
# - name: Update Coveralls
81+
# if: ${{ steps.release.outputs.release_created }}
82+
# uses: coverallsapp/github-action@v2
83+
# with:
84+
# github-token: ${{ secrets.GITHUB_TOKEN }}
8785

8886
- name: Publish
8987
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() }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.nx/
66
bin/
77
build/
8-
/coverage
8+
coverage/
99
dist/
1010
dist-test/
1111
/docs/.vitepress/cache

0 commit comments

Comments
 (0)