Skip to content

Commit

Permalink
Replace jest with vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
bokub committed Sep 13, 2024
1 parent 5b52a7d commit 4ab2e61
Show file tree
Hide file tree
Showing 10 changed files with 3,071 additions and 5,483 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
Expand All @@ -24,17 +24,17 @@ jobs:
matrix:
node: [16, 18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm ci
- run: npm run test:coverage
- run: npm run coverage
- run: npm run build
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
if: matrix.node == 18
with:
files: ./coverage.lcov
token: ${{ secrets.CODECOV_TOKEN }}

publish:
name: Publish on npm
Expand All @@ -44,8 +44,8 @@ jobs:
- lint
- test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
Expand Down
20 changes: 0 additions & 20 deletions jest.config.ts

This file was deleted.

Loading

0 comments on commit 4ab2e61

Please sign in to comment.