mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2025-12-15 04:46:22 +00:00
ci: reserve test fail status
This commit is contained in:
parent
6ccac47713
commit
7266504a8a
1 changed files with 3 additions and 2 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
|
@ -12,11 +12,12 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: |
|
- run: |
|
||||||
|
set -o pipefail
|
||||||
mkdir -p ./pr
|
mkdir -p ./pr
|
||||||
echo ${{ github.event.number }} | tee ./pr/number
|
echo ${{ github.event.number }} | tee ./pr/number
|
||||||
npm run all | tee ./pr/all_result
|
npm run all |& tee ./pr/all_result
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v2
|
||||||
if: ${{ github.event_name == 'pull_request' }}
|
if: ${{ github.event_name == 'pull_request' && (success() || failure()) }}
|
||||||
with:
|
with:
|
||||||
name: all
|
name: all
|
||||||
path: pr/
|
path: pr/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue