Skip to content

Commit

Permalink
uploading npm logs on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewshell committed Apr 3, 2023
1 parent ff54184 commit a732f93
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- name: Archive npm failure logs
uses: actions/upload-artifact@v2
if: failure()
with:
name: npm-logs
path: ~/.npm/_logs
- run: npm test

0 comments on commit a732f93

Please sign in to comment.