Skip to content

Add setup-node action #5

Add setup-node action

Add setup-node action #5

Workflow file for this run

name: Build
on:
push:
branches:
- "master"
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
pull_request:
branches:
- master
paths-ignore:
- '.gitignore'
- 'CODEOWNERS'
- 'LICENSE'
- '*.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
cache-dependency-path: src/main/webui/package-lock.json
- name: Build with Maven
run: ./mvnw -X -B package --file pom.xml