From 371c9509f6047b4a9bf1bda9fedd6da03b38f8d5 Mon Sep 17 00:00:00 2001 From: octocorvus Date: Sun, 26 Feb 2023 15:54:30 +0000 Subject: [PATCH] update GitHub workflow to install npm dependencies --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9b8f62..27b07ad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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