This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
Update Font Awesome #871
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Application CI | |
on: | |
push: | |
branches: | |
- master | |
- renovate/** | |
pull_request: | |
branches: [master] | |
jobs: | |
applications: | |
name: Nitro Carriers test suite | |
runs-on: ubuntu-latest | |
timeout-minutes: 40 | |
env: | |
NODE_VERSION: 14 | |
SPRING_OUTPUT_ANSI_ENABLED: DETECT | |
SPRING_JPA_SHOW_SQL: false | |
JHI_DISABLE_WEBPACK_LOGS: true | |
NG_CLI_ANALYTICS: false | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '8' | |
cache: 'gradle' | |
- name: Install node.js packages | |
run: npm ci | |
- name: Run backend test | |
run: | | |
chmod +x gradlew | |
./gradlew test | |
- name: Run frontend test | |
run: npm run test:ci | |
- name: Run frontend build | |
run: npm run build | |
- name: Package application | |
run: ./gradlew -Pprod clean bootWar | |
- name: Coverage | |
uses: ArtiomTr/jest-coverage-report-action@v2 | |
with: | |
test-script: npm run test | |
skip-step: all |