File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363
6464 for v in $versions; do
6565 echo "::group::${pkg}@${v}"
66- tarball=$(npm pack "${pkg}@${v}" --registry https://registry.npmjs.org 2>/dev/null | tail -n1)
66+ # npm pack writes the tarball filename to stdout and notices/errors to
67+ # stderr; keep stderr visible so pack failures (auth/404/network) show
68+ # in the logs. pipefail (set above) makes a failed pack abort the job.
69+ tarball=$(npm pack "${pkg}@${v}" --registry https://registry.npmjs.org | tail -n1)
6770 scripts/publish.sh "https://npm.pkg.github.com" "$tarball"
6871 rm -f "$tarball"
6972 echo "::endgroup::"
Original file line number Diff line number Diff line change 3939 steps :
4040 - name : Checkout branch
4141 uses : actions/checkout@v4
42+ with :
43+ persist-credentials : false
4244
4345 # Install from the public npm registry so scoped dependencies
4446 # (e.g. @optimizely/optimizely-sdk) resolve normally. We do NOT route the
You can’t perform that action at this time.
0 commit comments