Skip to content

Generate error annotations when not publishing a check #23

Generate error annotations when not publishing a check

Generate error annotations when not publishing a check #23

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: zulu
- run: cd tests && mvn clean test --batch-mode -Dmaven.test.failure.ignore=true
- name: Update existing check report
uses: starburstdata/action-testng-report@master
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
check_name: build
update_existing_check: true
report_paths: "**/testng-results.xml"
- name: Create new check report
uses: starburstdata/action-testng-report@master
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
check_name: new check name
report_paths: "**/testng-results.xml"
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- run: npm run eslint
- run: npm run test