Skip to content

Commit

Permalink
Merge pull request #11 from pascalgrimaud/ci-build
Browse files Browse the repository at this point in the history
Improve CI
  • Loading branch information
pascalgrimaud authored Sep 2, 2021
2 parents bc60103 + b50300b commit 0647404
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Application CI
name: build
on: [push, pull_request]
jobs:
pipeline:
Expand All @@ -19,7 +19,7 @@ jobs:
with:
distribution: 'adopt'
java-version: '11.x'
- name: 'Setup: check'
- name: 'Setup: check tools'
run: |
node -v
npm -v
Expand All @@ -33,7 +33,9 @@ jobs:
${{ runner.os }}-maven-
- name: 'Init: install Node.js packages'
run: npm install
- name: 'Test: run backend test'
- name: 'Check: prettier'
run: npm run prettier:check
- name: 'Test: run backend tests'
run: |
chmod +x mvnw
./mvnw clean verify
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To launch tests and integration tests:
./mvnw clean verify
```

[github-actions-jhforge-image]: https://github.com/pascalgrimaud/jhipster-forge/workflows/Application%20CI/badge.svg
[github-actions-jhforge-image]: https://github.com/pascalgrimaud/jhipster-forge/workflows/build/badge.svg
[github-actions-url]: https://github.com/pascalgrimaud/jhipster-forge/actions

<!-- jhipster-needle-readme -->

0 comments on commit 0647404

Please sign in to comment.