chore(ci): expose staged publication diagnostics (#16776)
* chore(ci): expose staged publication diagnostics * chore(ci): route staging diagnostics to stderr
This commit is contained in:
1 parent
3c4ebe3678
commit
fdcf882dd1
2 files changed
+2
-2
No files matched your search
@@ -58,7 +58,7 @@ stage_packages() {
|
||||
--access public \
|
||||
--provenance \
|
||||
--no-git-checks \
|
||||
--reporter=silent \
|
||||
--use-stderr \
|
||||
--json)
|
||||
if ! stage_id=$(jq -er --arg name "$name" \
|
||||
'.[$name].stageId | strings | select(length > 0)' <<< "$stage_output"); then
|
||||
|
||||
@@ -78,7 +78,7 @@ NPM_STAGE_TEST_PNPM_LOG="$pnpm_log" \
|
||||
"$script_dir/npm-staged-publication.sh" stage 'test layer' next-12 \
|
||||
"$test_tmp/staged" "$test_tmp/already"
|
||||
|
||||
grep -q 'stage publish.*/staged/ --registry https://registry.npmjs.org/ --npmrc-auth-file /dev/null --tag next-12 --access public --provenance --no-git-checks --reporter=silent --json' "$pnpm_log"
|
||||
grep -q 'stage publish.*/staged/ --registry https://registry.npmjs.org/ --npmrc-auth-file /dev/null --tag next-12 --access public --provenance --no-git-checks --use-stderr --json' "$pnpm_log"
|
||||
test "$(wc -l < "$pnpm_log")" -eq 1
|
||||
grep -q '| `@pnpm/staged@1.0.0` | `11111111-2222-4333-8444-555555555555` |' "$summary"
|
||||
grep -q '| `@pnpm/already@1.0.0` | already published |' "$summary"
|
||||
|
||||
Reference in new issue
Block a user