Skip to content

Commit 425870d

Browse files
committed
Upload npm publish logs when failed
1 parent c20255a commit 425870d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish-wasm.yml

+6
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,9 @@ jobs:
5555
run: npm publish --provenance --access public crates/ruff_wasm/pkg
5656
env:
5757
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58+
- name: Archive npm failure logs
59+
uses: actions/upload-artifact@v4
60+
if: failure()
61+
with:
62+
name: npm-logs
63+
path: ~/.npm/_logs

0 commit comments

Comments
 (0)