Skip to content

Commit

Permalink
chore: change test framework to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Jul 21, 2024
1 parent 2c7f2cf commit 8ce45ea
Show file tree
Hide file tree
Showing 12 changed files with 2,091 additions and 4,203 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
dist
coverage
$*.ts
8 changes: 4 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [16, 18, 20]
node-version: [18, 20, 22]
os: [ubuntu-latest]
include:
- os: windows-latest
node-version: 18
node-version: 20
steps:
- uses: actions/checkout@v3
- name: setup Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -41,13 +41,13 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
registry-url: "https://registry.npmjs.org"
- uses: actions/cache@v2
id: npm-cache
with:
path: "node_modules"
key: ${{ runner.os }}-node-v18-npm-${{ hashFiles('package-lock.json') }}
key: ${{ runner.os }}-node-v20-npm-${{ hashFiles('package-lock.json') }}
- run: npm install
if: steps.npm-cache.outputs.cache-hit != 'true'
- run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
dist
coverage
tmp
4 changes: 0 additions & 4 deletions .prettierignore

This file was deleted.

13 changes: 0 additions & 13 deletions jest.config.ts

This file was deleted.

Loading

0 comments on commit 8ce45ea

Please sign in to comment.