use always instead of ignore (#42)

This commit is contained in:
Juraj Misur 2021-02-04 10:39:41 +01:00 committed by GitHub
parent 8e816e7ede
commit 0e669d19fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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 }}