Skip to content

Commit a732f93

Browse files
committed
uploading npm logs on failure
1 parent ff54184 commit a732f93

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/node.js.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,10 @@ jobs:
2727
node-version: ${{ matrix.node-version }}
2828
cache: 'npm'
2929
- run: npm ci
30+
- name: Archive npm failure logs
31+
uses: actions/upload-artifact@v2
32+
if: failure()
33+
with:
34+
name: npm-logs
35+
path: ~/.npm/_logs
3036
- run: npm test

0 commit comments

Comments
 (0)