mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
Use turbo for all unit tests (#5815)
- Upgrade vitest from 1.x to 3.x. - Fix some tests that now became more strict and started failing - Add test command to all packages + needed dependencies - Add turbo config for running tests Another PR will completely redo the e2e test suite.
This commit is contained in:
parent
33e4b37106
commit
7c609a56d9
30 changed files with 697 additions and 467 deletions
2
.github/workflows/bundlers.yml
vendored
2
.github/workflows/bundlers.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Test different bundlers with Uppy
|
||||
name: Bundlers
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
|||
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -34,8 +34,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
# fix node versions so we don't get sudden unrelated CI breakage
|
||||
node-version: [18.20.8, 20.19.1]
|
||||
node-version: [lts/*]
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -66,7 +65,7 @@ jobs:
|
|||
- name: Build
|
||||
run: corepack yarn run build
|
||||
- name: Run tests
|
||||
run: corepack yarn run test:unit
|
||||
run: corepack yarn run test
|
||||
|
||||
types:
|
||||
name: Type tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue