update GitHub workflow to install npm dependencies

This commit is contained in:
octocorvus 2023-02-26 15:54:30 +00:00 committed by Daniel Micay
parent d01131d4c6
commit 371c9509f6

View File

@ -10,11 +10,16 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-node@v3
with:
cache: npm
- name: Set up JDK 19
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 19
cache: gradle
- run: npm ci --ignore-scripts
- name: Build with Gradle
run: ./gradlew build --no-daemon