Skip to content

Commit

Permalink
chore: Switch to vitest for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Gordon Smith <[email protected]>
  • Loading branch information
GordonSmith committed Sep 28, 2024
1 parent 7c3a202 commit 095a111
Show file tree
Hide file tree
Showing 216 changed files with 16,409 additions and 4,809 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,17 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
run: |
npm ci
sudo npx playwright install chromium --with-deps
npm run install-build-deps
- name: Build
if: ${{ steps.release.outputs.release_created }}
- name: Lint
run: |
npm run build
npm run lint
- name: Prime gecko webdriver
- name: Build
if: ${{ steps.release.outputs.release_created }}
working-directory: packages/base91
run: |
npm run test || echo "Prime gecko webdriver"
npm run build
- name: Test
if: ${{ steps.release.outputs.release_created }}
Expand All @@ -77,7 +76,6 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
run: |
npm run coverage
npm run coverage-report
- name: Update Coveralls
if: ${{ steps.release.outputs.release_created }}
Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
- name: Install Dependencies
run: |
npm ci
sudo npx playwright install chromium --with-deps
npm run install-build-deps
- name: Lint
run: |
npm run lint
Expand All @@ -55,11 +56,6 @@ jobs:
run: |
npm run build
- name: Prime gecko webdriver
working-directory: packages/base91
run: |
npm run test || echo "Prime gecko webdriver"
- name: Test
run: |
npm run test
Expand All @@ -68,7 +64,6 @@ jobs:
if: ${{ matrix.node == 20 }}
run: |
npm run coverage
npm run coverage-report
- name: Upload error logs
if: ${{ failure() || cancelled() }}
Expand Down
Loading

0 comments on commit 095a111

Please sign in to comment.