Skip to content

Accepts Automated PRs on Mon Oct 28 10:39:41 CET 2024 #343

Accepts Automated PRs on Mon Oct 28 10:39:41 CET 2024

Accepts Automated PRs on Mon Oct 28 10:39:41 CET 2024 #343

Workflow file for this run

name: news-cast-app
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: maven
- name: Build and Test
run: mvn clean install jacoco:prepare-agent package jacoco:report
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Build Node JS and Test
run: make build-node && npm i -g jest && make test-node
- name: Coverage Reports
run: mvn omni-coveragereporter:report
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}