File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change 77
88jobs :
99 release :
10+ name : " Release to NPM"
1011 runs-on : ubuntu-latest
1112 permissions :
1213 contents : write # Required to create the GitHub Release
5152 npm publish --provenance --access public
5253 fi
5354
55+ - name : ⬆️ Upload NPM Debug Log on Failure
56+ if : failure()
57+ uses : actions/upload-artifact@v4
58+ with :
59+ # This name is what the file will be called when you download it
60+ name : npm-debug-log
61+ # Specify the exact path where npm saves its log on the runner
62+ path : /home/runner/.npm/_logs/*debug-*.log
63+ # Ignore the step if the file is not found (e.g., if the failure was not an npm error)
64+ if-no-files-found : ignore
65+
5466 - name : Create GitHub Release
5567 uses : softprops/action-gh-release@v2
5668 with :
You can’t perform that action at this time.
0 commit comments