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@v4
|
|
with:
|
|
cache: npm
|
|
- name: Set up JDK 21
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: 21
|
|
cache: gradle
|
|
|
|
- name: Build with Gradle
|
|
run: ./gradlew build --no-daemon
|