From c6d9723862a941ba8cc5065fc24d7e0a97010af9 Mon Sep 17 00:00:00 2001 From: katauber Date: Thu, 30 Nov 2023 12:10:10 +0100 Subject: [PATCH] Set up Node 14 in Github actions. See #16 --- .github/workflows/build.yml | 4 ++++ .github/workflows/deploy.yml | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d8f2ada..0af7a96 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,10 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 + - name: Set up Node 14 + uses: actions/setup-node@v4 + with: + node-version: 14 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cfb7a81..ce88602 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,8 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up Node.js - uses: actions/setup-node@v1 + - name: Set up Node 14 + uses: actions/setup-node@v4 + with: + node-version: 14 - name: Set up vsce run: npm install -g vsce - name: Set up JDK 11