diff --git a/.gitea/workflows/ci-pipeline.yml b/.gitea/workflows/ci-pipeline.yml index 64c9551ea..9d9753b85 100755 --- a/.gitea/workflows/ci-pipeline.yml +++ b/.gitea/workflows/ci-pipeline.yml @@ -387,9 +387,11 @@ jobs: [ $i -eq 3 ] && exit 1 sleep 5 done - - name: Run Vitest with coverage + - name: Run Vitest (incremental for PRs, full for main branches) shell: sh - run: bash scripts/ci/step_frontend_run.sh "npx --no-install vitest run --coverage" + env: + GITHUB_TOKEN: ${{ github.token }} + run: bash scripts/ci/vitest_incremental.sh - name: Job duration summary if: always() shell: sh