From 9fc42e132cd20a072f81d019eccf63138ce47888 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Fri, 26 Jan 2024 22:52:36 +0100 Subject: [PATCH] ci: Use latest Node.js LTS version to fix builds (cherry picked from commit 23b3eb1325704c39db1a99bb169047f4879766d1) --- .github/workflows/release.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2ce8cd6..970ac34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,22 +24,21 @@ jobs: persist-credentials: false fetch-depth: 0 - - name: Cache Node modules - uses: actions/cache@v3 - with: - path: | - node_modules - key: npm-${{ hashFiles('package-lock.json') }} - - name: Cache Gradle uses: burrunan/gradle-cache-action@v1 - - name: Build with Gradle + - name: Build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew build clean --no-daemon + run: ./gradlew build clean - - name: Setup semantic-release + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: "lts/*" + cache: 'npm' + + - name: Install dependencies run: npm install - name: Release