From d0d5a6d60fb71d3b8331875ea5131b797c1f9158 Mon Sep 17 00:00:00 2001 From: can1357 Date: Sun, 31 May 2026 01:11:08 +0200 Subject: [PATCH] config: disabled GITHUB_ACTIONS marker for TypeScript test script - Updated the root package.json test:ts script to run with GITHUB_ACTIONS=0. --- .github/workflows/ci.yml | 11 ++++------- package.json | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d20642091..df6d3c808 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -262,13 +262,10 @@ jobs: run-id: ${{ steps.source.outputs.run-id }} github-token: ${{ secrets.GITHUB_TOKEN }} - name: Test workspace (TS) - env: - # Bun's `bun test` emits `::group::`/`::endgroup::` per file under - # GHA. `--workspaces` prefixes each output line with ` test: `, - # which breaks GHA's column-0 parsing and leaks the markers as - # literal text. Unset for this step only — the annotations would be - # equally broken by the prefix, so we lose nothing. - GITHUB_ACTIONS: "" + # `test:ts` sets GITHUB_ACTIONS=0 inline so `bun test` skips its + # per-file `::group::`/`::endgroup::` annotations. Under `--workspaces` + # every line is prefixed with ` test: `, which breaks GHA's + # column-0 parsing and would leak those markers as literal log spam. run: bun run test:ts - name: CLI smoke test run: bun run ci:test:smoke diff --git a/package.json b/package.json index ba916da56..4e7db5215 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "build": "bun run --workspaces --if-present build", "build:native": "bun --cwd=packages/natives run build", "test": "bun run --parallel test:ts test:rs", - "test:ts": "bun run --workspaces --if-present test -- --only-failures", + "test:ts": "GITHUB_ACTIONS=0 bun run --workspaces --if-present test -- --only-failures", "test:rs": "bun scripts/run-rs-task.ts test:rs", "check": "bun run --parallel check:ts check:rs", "check:ts": "bun run check:tools && bun run --workspaces --if-present check",