24 lines
484 B
YAML
24 lines
484 B
YAML
name: Build application
|
|
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
cache: npm
|
|
- name: Set up JDK 20
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 20
|
|
cache: gradle
|
|
|
|
- run: npm ci --ignore-scripts
|
|
- name: Build with Gradle
|
|
run: ./gradlew build --no-daemon
|