23 lines
447 B
YAML
23 lines
447 B
YAML
name: Build application
|
|
|
|
on: [pull_request, push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- 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
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew build --no-daemon
|