Skip to content

Commit 783097e

Browse files
authored
Add step to log errors (#31)
* Add step to log errors * Update NPM token * Clean up
1 parent 4bebd51 commit 783097e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,9 @@ jobs:
1717
with:
1818
token: ${{ secrets.NPM_TOKEN }}
1919
access: public
20+
- name: Upload npm debug log
21+
if: failure() # This step will run only if the previous steps failed
22+
uses: actions/upload-artifact@v2
23+
with:
24+
name: npm-debug-logs
25+
path: /home/runner/.npm/_logs/*.log

0 commit comments

Comments
 (0)