Skip to content

Commit

Permalink
Merge pull request #384 from mshima/jhipster8_2
Browse files Browse the repository at this point in the history
update workflow for v8 base
  • Loading branch information
DanielFran authored Jul 24, 2024
2 parents 8a1032b + 6bf070b commit e6e749b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 38 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,29 +113,14 @@ jobs:
#----------------------------------------------------------------------
# Detect changes against base commit
#----------------------------------------------------------------------
# Revert samples rename to old name.
- uses: actions/setup-node@v4
with:
node-version: 16
- name: 'MERGE: generate base'
continue-on-error: true
id: base-app
- uses: jhipster/actions/compare-sample@v0
id: compare
if: >-
github.event.pull_request &&
!contains(github.event.pull_request.labels.*.name, 'pr: disable-compare')
uses: ./jhipster-kotlin/.github/actions/compare-base
with:
extra-args: '--skip-jhipster-dependencies --skip-ktlint-format ${{ matrix.extra-args }}'
- name: 'MERGE: compare changes'
continue-on-error: true
id: compare
if: steps.base-app.outcome == 'success'
uses: ./jhipster-kotlin/.github/actions/compare
with:
application-path: ${{ steps.base-app.outputs.application-path }}
- uses: actions/setup-node@v4
with:
node-version: 20
generator-path: jhipster-kotlin
cmd: cli.cjs generate-sample --skip-jhipster-dependencies --skip-install --skip-ktlint-format ${{ matrix.extra-args }}
#----------------------------------------------------------------------
# Launch tests
#----------------------------------------------------------------------
Expand Down
23 changes: 4 additions & 19 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,29 +113,14 @@ jobs:
#----------------------------------------------------------------------
# Detect changes against base commit
#----------------------------------------------------------------------
# Revert samples rename to old name.
- uses: actions/setup-node@v4
with:
node-version: 16
- name: 'MERGE: generate base'
continue-on-error: true
id: base-app
- uses: jhipster/actions/compare-sample@v0
id: compare
if: >-
github.event.pull_request &&
!contains(github.event.pull_request.labels.*.name, 'pr: disable-compare')
uses: ./jhipster-kotlin/.github/actions/compare-base
with:
extra-args: '--skip-jhipster-dependencies --skip-ktlint-format ${{ matrix.extra-args }}'
- name: 'MERGE: compare changes'
continue-on-error: true
id: compare
if: steps.base-app.outcome == 'success'
uses: ./jhipster-kotlin/.github/actions/compare
with:
application-path: ${{ steps.base-app.outputs.application-path }}
- uses: actions/setup-node@v4
with:
node-version: 20
generator-path: jhipster-kotlin
cmd: cli.cjs generate-sample --skip-jhipster-dependencies --skip-install --skip-ktlint-format ${{ matrix.extra-args }}
#----------------------------------------------------------------------
# Launch tests
#----------------------------------------------------------------------
Expand Down

0 comments on commit e6e749b

Please sign in to comment.