From 1ba2c980d2287273e476b4d45275ae9cf32ed081 Mon Sep 17 00:00:00 2001 From: ronenk1 Date: Tue, 3 Feb 2026 13:24:28 +0200 Subject: [PATCH] ci: update Node.js and actions versions for CI workflows --- .github/actions/init-npm/action.yaml | 4 ++-- .github/workflows/deploy-site.yml | 8 ++++---- .github/workflows/pull_request.yml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/init-npm/action.yaml b/.github/actions/init-npm/action.yaml index b2c3d497..779dc28e 100644 --- a/.github/actions/init-npm/action.yaml +++ b/.github/actions/init-npm/action.yaml @@ -4,12 +4,12 @@ inputs: node-version: description: 'Node.js version' required: true - default: '20.x' + default: '24.x' runs: using: composite steps: - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: node-version: ${{ inputs.node-version }} cache: npm diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 9ca1d71b..e3d0747a 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -13,22 +13,22 @@ jobs: name: Build the static site and deploy to pages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v6 with: fetch-depth: 0 - name: Init nodejs uses: ./.github/actions/init-npm - + - name: Install dependencies run: npm ci working-directory: ./static-site - + - name: Build website run: npm run build working-directory: ./static-site - name: Upload Build Artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v4 with: path: ./static-site/dist diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index d6599369..a5be95e8 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Check out TS Project Git repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Init nodejs uses: ./.github/actions/init-npm @@ -27,7 +27,7 @@ jobs: steps: - name: Check out TS Project Git repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: fetch-tags: true fetch-depth: '0' @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out TS Project Git repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Init nodejs uses: ./.github/actions/init-npm