From dd4749d5cf453a59d15ff0fbacbdda73cff4c31c Mon Sep 17 00:00:00 2001 From: Siva Rama Krishna Date: Mon, 21 Sep 2026 12:37:28 +0530 Subject: [PATCH] chore: update Node.js version to 24.x in workflows and enhance permissions --- .github/workflows/commitlint.yml | 2 +- .github/workflows/install-build-sdk-pack.yml | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index ef9c4713..7def7a79 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: - node-version: [22.x] + node-version: [24.x] steps: # Full history is required so the PR base and head commits are both available. diff --git a/.github/workflows/install-build-sdk-pack.yml b/.github/workflows/install-build-sdk-pack.yml index ac8153c1..e834f603 100644 --- a/.github/workflows/install-build-sdk-pack.yml +++ b/.github/workflows/install-build-sdk-pack.yml @@ -13,6 +13,9 @@ on: - master - 'release/**' +permissions: + contents: read + jobs: build: @@ -20,14 +23,15 @@ jobs: strategy: matrix: - node-version: [22.x] + node-version: [24.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} + cache: npm - name: Install dependencies, run build-sdk, and pack run: npm run ci - run: npm run build:dev