update GitHub workflow to install npm dependencies
This commit is contained in:
parent
d01131d4c6
commit
371c9509f6
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -10,11 +10,16 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
- uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
cache: npm
|
||||||
- name: Set up JDK 19
|
- name: Set up JDK 19
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 19
|
java-version: 19
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
|
- run: npm ci --ignore-scripts
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew build --no-daemon
|
run: ./gradlew build --no-daemon
|
||||||
|
Loading…
Reference in New Issue
Block a user