File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4949 id : dry-run
5050 run : |
5151 pnpm run test:local+dry-run > ./test-dry-run.json || true
52- SKIP_TESTS=$(tail -n +5 ./test-dry-run.json | jq -r '.tasks | map(select(.task == "test")) | all((.cache.status == "HIT") or (.cache.status == "MISS" and .command == "<NONEXISTENT>"))' 2>/dev/null || echo "false")
52+ SKIP_TESTS=$(sed -n '/^{/,$p' ./test-dry-run.json | jq -r '.tasks | map(select(.task == "test")) | all((.cache.status == "HIT") or (.cache.status == "MISS" and .command == "<NONEXISTENT>"))' 2>/dev/null || echo "false")
5353 echo "skip=$SKIP_TESTS" >> "$GITHUB_OUTPUT"
5454 echo "Test cache skip: $SKIP_TESTS"
5555
Original file line number Diff line number Diff line change 77 "test" : " turbo run test --concurrency 1" ,
88 "test:no-cache" : " pnpm test -- --force" ,
99 "test:local" : " PL_PKG_DEV=local pnpm test" ,
10- "test:local+dry-run" : " pnpm test:local -- --dry-run=json | tail -n +8 " ,
10+ "test:local+dry-run" : " pnpm test:local -- --dry-run=json" ,
1111 "test:local+no-cache" : " pnpm test:local -- --force" ,
1212 "do-pack" : " turbo run do-pack" ,
1313 "do-pack:local" : " PL_PKG_DEV=local turbo run do-pack" ,
You can’t perform that action at this time.
0 commit comments