mirror of https://github.com/status-im/js-waku.git
chore: move debug log to file, upload it
This commit is contained in:
parent
12de3a14e7
commit
0cabd9a38e
|
@ -77,11 +77,18 @@ jobs:
|
||||||
node-version: ${{ env.NODE_JS }}
|
node-version: ${{ env.NODE_JS }}
|
||||||
- uses: bahmutov/npm-install@v1
|
- uses: bahmutov/npm-install@v1
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run test:node
|
- run: npm run test:node > debug.log
|
||||||
env:
|
env:
|
||||||
DEBUG: "waku:nwaku*,waku:test*"
|
DEBUG: "waku:nwaku*,waku:test*"
|
||||||
|
|
||||||
- name: Upload logs on failure
|
- name: Upload debug logs on failure
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
name: debug.log
|
||||||
|
path: debug.log
|
||||||
|
|
||||||
|
- name: Upload nwaku logs on failure
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
|
@ -124,10 +131,17 @@ jobs:
|
||||||
|
|
||||||
- uses: bahmutov/npm-install@v1
|
- uses: bahmutov/npm-install@v1
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run test:node
|
- run: npm run test:node > debug.log
|
||||||
env:
|
env:
|
||||||
DEBUG: "waku:nwaku*,waku:test*"
|
DEBUG: "waku:nwaku*,waku:test*"
|
||||||
|
|
||||||
|
- name: Upload debug logs on failure
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
name: debug.log
|
||||||
|
path: debug.log
|
||||||
|
|
||||||
- name: Upload logs on failure
|
- name: Upload logs on failure
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: failure()
|
if: failure()
|
||||||
|
@ -171,10 +185,17 @@ jobs:
|
||||||
./build/wakunode2 --help
|
./build/wakunode2 --help
|
||||||
|
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run test:node
|
- run: npm run test:node > debug.log
|
||||||
env:
|
env:
|
||||||
DEBUG: "waku:nwaku*,waku:test*"
|
DEBUG: "waku:nwaku*,waku:test*"
|
||||||
|
|
||||||
|
- name: Upload debug logs on failure
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
if: failure()
|
||||||
|
with:
|
||||||
|
name: debug.log
|
||||||
|
path: debug.log
|
||||||
|
|
||||||
- name: Upload logs on failure
|
- name: Upload logs on failure
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
if: failure()
|
if: failure()
|
||||||
|
|
Loading…
Reference in New Issue