Save file on test failure

Fixes #1366
This commit is contained in:
Ajay
2022-06-18 11:54:52 -04:00
parent ae23bfffe1
commit 986630d0a1
3 changed files with 20 additions and 2 deletions

View File

@@ -19,4 +19,11 @@ jobs:
- name: Copy configuration
run: cp config.json.example config.json
- name: Run tests
run: npm run test
run: npm run test
- name: Upload results on fail
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: Test Results
path: ./test-results