Skip to content

chore(deps): update dependency tech.jhipster.lite:jhlite to v1.10.0 #57

chore(deps): update dependency tech.jhipster.lite:jhlite to v1.10.0

chore(deps): update dependency tech.jhipster.lite:jhlite to v1.10.0 #57

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
#--------------------------------------------------
# Build and Tests the project on Linux
#--------------------------------------------------
tests:
name: tests
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: 'Setup: checkout project'
uses: actions/checkout@v4
- name: 'Setup: environment'
id: setup
uses: ./.github/actions/setup
- name: 'Init: cache local Maven repository'
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: 'Init: install Node.js packages'
run: npm ci
- name: 'Prettier: check'
run: npm run prettier:check
- name: 'Test: run tests'
run: |
chmod +x mvnw
./mvnw clean package
- name: 'Test: generate sample app'
run: |
./tests-ci/start.sh
./tests-ci/generate.sh fullapp maven yaml
./tests-ci/stop.sh
- name: 'Test: verify generated sample app'
working-directory: /tmp/jhlite/fullapp/
run: |
if [ -f 'mvnw' ]; then
./mvnw clean verify
elif [ -f 'gradlew' ]; then
./gradlew clean build --no-daemon --info
else
npm install
npm test
fi