diff --git a/.github/workflows/publish-wasm.yml b/.github/workflows/publish-wasm.yml index e2996eca2962d4..650143655b3ed4 100644 --- a/.github/workflows/publish-wasm.yml +++ b/.github/workflows/publish-wasm.yml @@ -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