Skip to content

Merge pull request #431 from lunatech-labs/dependabot/github_actions/… #755

Merge pull request #431 from lunatech-labs/dependabot/github_actions/…

Merge pull request #431 from lunatech-labs/dependabot/github_actions/… #755

Workflow file for this run

name: Compile code
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
gradle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'adopt'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build with Gradle
run: ./gradlew build
npm:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- name: Use Node.js 12.x
uses: actions/setup-node@v3
with:
node-version: 12.x
- name: Install dependencies
run: npm install
# - name: Test
# run: npm test
# env:
# CI: true
- name: Generate build
run: npm run build
env:
CI: false