From b1bdfc4a9ed4995ec1eea47ff9eb445ed7710cd3 Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Tue, 23 Sep 2025 17:55:26 +0700 Subject: [PATCH] WORKFLOW: Update NodeJs version in workflows (#2319) --- .github/workflows/build-artifacts.yml | 12 ++++++------ .github/workflows/build-upload-artifacts.yml | 4 ++-- .github/workflows/bump-version.yml | 4 ++-- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/deploy-dev.yml | 2 +- .github/workflows/fetch-changes.yml | 4 ++-- .github/workflows/steamDev.yml | 2 +- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml index 81ca72a92..148e22b4a 100644 --- a/.github/workflows/build-artifacts.yml +++ b/.github/workflows/build-artifacts.yml @@ -13,10 +13,10 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install npm dependencies run: npm ci @@ -42,10 +42,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install npm dependencies run: npm ci @@ -68,10 +68,10 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/build-upload-artifacts.yml b/.github/workflows/build-upload-artifacts.yml index 36ba6f6ef..bcbbfcf80 100644 --- a/.github/workflows/build-upload-artifacts.yml +++ b/.github/workflows/build-upload-artifacts.yml @@ -20,10 +20,10 @@ jobs: needs: [build] steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Download artifacts uses: actions/download-artifact@v4 diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index 008259587..836ec0513 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -42,10 +42,10 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install NPM dependencies for version updater working-directory: ./tools/bump-version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b534bcbb3..eebd7d9b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,10 +16,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install npm dependencies run: npm ci @@ -30,10 +30,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install npm dependencies run: npm ci @@ -44,10 +44,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install npm dependencies run: npm ci @@ -58,10 +58,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node.js 20 + - name: Use Node.js 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index b53a81b27..9b79ae75b 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - run: npm ci - env: ENABLE_DEV_MODE: ${{ github.event.inputs.enable_dev_mode }} diff --git a/.github/workflows/fetch-changes.yml b/.github/workflows/fetch-changes.yml index 9b289fff1..733121cfa 100644 --- a/.github/workflows/fetch-changes.yml +++ b/.github/workflows/fetch-changes.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Use Node 20 + - name: Use Node 22 uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: "npm" - name: Install NPM dependencies working-directory: ./tools/fetch-changelog diff --git a/.github/workflows/steamDev.yml b/.github/workflows/steamDev.yml index 87c065d14..3eef9d26a 100644 --- a/.github/workflows/steamDev.yml +++ b/.github/workflows/steamDev.yml @@ -19,7 +19,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 - name: Build and deploy run: |