From 1ee0d9369f58f3b359f939390ca0646fab2dc615 Mon Sep 17 00:00:00 2001 From: LitoMore Date: Fri, 3 May 2024 05:24:43 +0800 Subject: [PATCH] Use Node.js 22 (#10881) --- .github/workflows/create-release.yml | 4 ++-- .github/workflows/publish.yml | 8 ++++---- .github/workflows/verify.yml | 12 ++++++------ Dockerfile | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 19ceb2dfa..984e184c8 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -51,10 +51,10 @@ jobs: token: ${{ steps.app-token.outputs.token }} # Ensure we are checked out on the develop branch ref: develop - - name: Use Node.js 20.x + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm cache-dependency-path: '**/package.json' - name: Bump version diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 55c1b2a76..0efbde55e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Use Node.js 20.x + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm cache-dependency-path: '**/package.json' - name: Install dependencies @@ -32,10 +32,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Use Node.js 20.x + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm cache-dependency-path: '**/package.json' - id: get-version diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index d72b20c0b..43b550a33 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -8,10 +8,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Use Node.js 20.x + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm cache-dependency-path: '**/package.json' - name: Install dependencies @@ -24,10 +24,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Use Node.js 20.x + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm cache-dependency-path: '**/package.json' - name: Detect changed files @@ -82,10 +82,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Use Node.js 20.x + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20 + node-version: 22 cache: npm cache-dependency-path: '**/package.json' - name: Install dependencies diff --git a/Dockerfile b/Dockerfile index 3b2d0b68d..792598f3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:22-alpine RUN apk add --no-cache \ git