Skip to content

Commit

Permalink
Upload npm publish logs when failed
Browse files Browse the repository at this point in the history
  • Loading branch information
dhruvmanila committed Jan 16, 2025
1 parent c20255a commit 425870d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,9 @@ jobs:
run: npm publish --provenance --access public crates/ruff_wasm/pkg
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Archive npm failure logs
uses: actions/upload-artifact@v4
if: failure()
with:
name: npm-logs
path: ~/.npm/_logs

0 comments on commit 425870d

Please sign in to comment.