use always instead of ignore (#42)
This commit is contained in:
parent
8e816e7ede
commit
0e669d19fc
|
|
@ -34,12 +34,12 @@ jobs:
|
|||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 12
|
||||
#- uses: actions/cache@v1
|
||||
# with:
|
||||
# path: ~/.npm
|
||||
# key: ${{ runner.os }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-npm-cache-
|
||||
- uses: actions/cache@v1
|
||||
with:
|
||||
path: ~/.npm
|
||||
key: ${{ runner.os }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-npm-cache-
|
||||
- run: npm install
|
||||
- run: npm run eslint
|
||||
- run: npm run test
|
||||
|
|
|
|||
|
|
@ -48,8 +48,9 @@ jobs:
|
|||
- name: Checkout Code
|
||||
uses: actions/checkout@v1
|
||||
- name: Build and Run Tests
|
||||
run: mvn test --batch-mode -Dmaven.test.failure.ignore=true
|
||||
run: mvn test --batch-mode --fail-at-end
|
||||
- name: Publish Test Report
|
||||
if: ${{ always() }}
|
||||
uses: scacap/action-surefire-report@v1
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue