Skip to content

Commit c6180cc

Browse files
committed
debug: write npm output to step summary for visibility
1 parent b6f1191 commit c6180cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
- name: Publish to npm
3232
run: |
3333
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
34-
npm whoami
35-
npm publish --tag v3-latest
34+
npm whoami 2>&1 | tee -a "$GITHUB_STEP_SUMMARY"
35+
npm publish --tag v3-latest 2>&1 | tee -a "$GITHUB_STEP_SUMMARY"
3636
env:
3737
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3838

0 commit comments

Comments
 (0)