From 2e1b0f022eff5a7642e325da2b7b18a25d3e580a Mon Sep 17 00:00:00 2001 From: RhenCloud Date: Mon, 17 Aug 2026 10:57:55 +0800 Subject: [PATCH] fix(ci): run tests sequentially to avoid global state pollution --- .github/workflows/ci.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f8ebc4..27dc775 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,5 +14,5 @@ jobs: with: bun-version: 1.3.14 - run: bun install --frozen-lockfile - - run: bun test + - run: bun test --parallel=1 - run: bun run lint diff --git a/package.json b/package.json index d7e9a30..abbee85 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "lint:md": "markdownlint '**/*.md' --ignore node_modules --ignore dist", "format": "prettier --write .", "format:check": "prettier --check .", - "test": "bun test", + "test": "bun test --parallel=1", "db:migrate": "wrangler d1 migrations apply webhooker --local", "db:migrate:prod": "wrangler d1 migrations apply webhooker --remote", "docs:dev": "vitepress dev docs",