Skip to content

Commit 232ec26

Browse files
authored
test: migrate to vitest (#604)
1 parent 2817f76 commit 232ec26

33 files changed

+1660
-199
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,6 @@ jobs:
241241
console.log('IMAGE=node:${{ matrix.node }}-slim')
242242
}
243243
" >> $GITHUB_OUTPUT
244-
- name: Install dependencies
245-
run: npm ci --libc "musl" --libc "gnu" --cpu "arm64" --cpu "x64" --cpu "arm"
246244
- name: Download artifacts
247245
uses: actions/download-artifact@v4
248246
with:
@@ -263,7 +261,9 @@ jobs:
263261
with:
264262
image: ${{ steps.docker.outputs.IMAGE }}
265263
options: '-v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }} --platform ${{ steps.docker.outputs.PLATFORM }}'
266-
run: npm test
264+
run: |
265+
npm ci
266+
npm test
267267
test-wasi:
268268
name: Test WASI target
269269
needs:
@@ -277,7 +277,7 @@ jobs:
277277
node-version: 24
278278
cache: npm
279279
- name: Install dependencies
280-
run: npm ci --cpu "wasm32"
280+
run: npm ci
281281
- name: Download artifacts
282282
uses: actions/download-artifact@v6
283283
with:

.yarnrc.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

jest.config.ts

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)