File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -163,10 +163,6 @@ jobs:
163163 name : Test
164164 runs-on : ubuntu-latest
165165 needs : build
166- strategy :
167- fail-fast : false
168- matrix :
169- shard : [1, 2]
170166 steps :
171167 - name : Checkout
172168 uses : actions/checkout@v4
@@ -191,8 +187,8 @@ jobs:
191187 name : build-artifacts
192188 path : .
193189
194- - name : Run tests (${{ matrix.shard }}/2)
195- run : pnpm test -- --shard=${{ matrix.shard }}/2
190+ - name : Run tests
191+ run : pnpm test
196192 env :
197193 NODE_ENV : test
198194
@@ -201,6 +197,6 @@ jobs:
201197 with :
202198 token : ${{ secrets.CODECOV_TOKEN }}
203199 files : ./engine/*/coverage/lcov.info,./theme/*/coverage/lcov.info
204- flags : unittests-shard-${{ matrix.shard }}
205- name : codecov-shard-${{ matrix.shard }}
200+ flags : unittests
201+ name : codecov
206202 fail_ci_if_error : false
Original file line number Diff line number Diff line change 1818 "prebuild" : " tsx ./scripts/prebuild.ts" ,
1919 "build" : " pnpm run prebuild && pnpm typecheck && vite build" ,
2020 "typecheck" : " tsc --noEmit" ,
21- "test" : " vitest run" ,
21+ "test" : " vitest run --passWithNoTests " ,
2222 "test:dev" : " vitest --watch" ,
2323 "playground:init" : " tsx src/playground/init.ts" ,
2424 "playground:build" : " tsx src/playground/build.ts"
You can’t perform that action at this time.
0 commit comments