Skip to content

Commit

Permalink
Setup nodejs in the build workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
penguineer committed Oct 29, 2024
1 parent ab57fc8 commit 78ff4df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Run Maven Build
run: mvn clean package -Pproduction

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,10 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Run tests
run: mvn --batch-mode --update-snapshots -Pproduction clean verify

0 comments on commit 78ff4df

Please sign in to comment.