diff --git a/.github/workflows/pr_evaluation.yml b/.github/workflows/pr_evaluation.yml index ac026971..1c361c29 100644 --- a/.github/workflows/pr_evaluation.yml +++ b/.github/workflows/pr_evaluation.yml @@ -3,7 +3,7 @@ name: PR Evaluation on: pull_request: types: [opened, synchronize, reopened, ready_for_review, edited] - branches: ['main'] + branches: ['dev'] jobs: @@ -65,10 +65,10 @@ jobs: with: fetch-depth: 2 - - name: Use Node.js 20.x + - name: Use Node.js 24.x uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: 20.x + node-version: 24.x cache: npm - name: Install dependencies @@ -85,7 +85,7 @@ jobs: needs: semantic_pr strategy: matrix: - node-version: [18.x, 20.x] + node-version: [22.x, 24.x] steps: - name: Check out code diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b695d5b6..0f745e89 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,10 +17,10 @@ jobs: with: fetch-depth: 2 - - name: Use Node.js 20.x + - name: Use Node.js 24.x uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: 20.x + node-version: 24.x # No dependency cache in releases (cache poisoning); `package.json` # sets `packageManager`, which would turn on npm caching by default package-manager-cache: false @@ -106,7 +106,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: 20.x + node-version: 24.x # No dependency cache in releases, see above package-manager-cache: false @@ -200,10 +200,10 @@ jobs: echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV shell: bash - - name: Setup Node.js 20.x + - name: Setup Node.js 24.x uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: 20.x + node-version: 24.x # No dependency cache in releases, see above package-manager-cache: false diff --git a/Dockerfile b/Dockerfile index f572bbe7..4f317859 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use an official Node.js runtime as the base image -FROM node:20-alpine AS base +FROM node:24-alpine AS base FROM base AS builder RUN apk update diff --git a/README.md b/README.md index eca1028a..d7d658d9 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ For comprehensive guides, API references, and examples, visit our documentation: ### Prerequisites -- Node.js (v18 or higher) +- Node.js 22 or later (CI tests 22 and 24) - npm or yarn ### Development Setup