Skip to content

Commit 1e0d0d5

Browse files
committed
debug(ci): isolate migration-auto-create-vite-config snap test in musl E2E
1 parent 51a4b30 commit 1e0d0d5

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -710,15 +710,11 @@ jobs:
710710
cat package.json 2>&1 || true
711711
cd /workspace
712712
713-
# Run snap tests
713+
# Debug: run only migration-auto-create-vite-config snap test to isolate error
714714
git config --global --add safe.directory /workspace
715-
RUST_BACKTRACE=1 pnpm test
716-
if ! git diff --exit-code; then
717-
echo '::error::Snapshot diff detected. Run pnpm -F vite-plus snap-test locally and commit the updated snap.txt files.'
718-
git diff --stat
719-
git diff
720-
exit 1
721-
fi
715+
RUST_BACKTRACE=1 pnpm -F vite-plus snap-test-global migration-auto-create-vite-config 2>&1 || true
716+
echo '=== snap.txt diff ==='
717+
git diff packages/cli/snap-tests-global/migration-auto-create-vite-config/snap.txt || true
722718
"
723719
724720
install-e2e-test:

0 commit comments

Comments
 (0)