Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: bump Nodejs in web image from 20 to 22 LTS (#13341)

Bowen Liangb73607da8061
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index d73a782c935..625930b5f54 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -82,7 +82,7 @@ jobs:
uses: actions/setup-node@v4
if: steps.changed-files.outputs.any_changed == 'true'
with:
- node-version: 20
+ node-version: 22
cache: pnpm
cache-dependency-path: ./web/package.json
@@ -153,6 +153,7 @@ jobs:
env:
BASH_SEVERITY: warning
DEFAULT_BRANCH: main
+ FILTER_REGEX_INCLUDE: pnpm-lock.yaml
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
IGNORE_GENERATED_FILES: true
IGNORE_GITIGNORED_FILES: true
diff --git a/.github/workflows/tool-test-sdks.yaml b/.github/workflows/tool-test-sdks.yaml
index 93edb2737a7..a6e48d13594 100644
--- a/.github/workflows/tool-test-sdks.yaml
+++ b/.github/workflows/tool-test-sdks.yaml
@@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
- node-version: [16, 18, 20]
+ node-version: [16, 18, 20, 22]
defaults:
run:
diff --git a/.github/workflows/translate-i18n-base-on-english.yml b/.github/workflows/translate-i18n-base-on-english.yml
index 80b78a13119..3f8082eb69b 100644
--- a/.github/workflows/translate-i18n-base-on-english.yml
+++ b/.github/workflows/translate-i18n-base-on-english.yml
@@ -33,7 +33,7 @@ jobs:
- name: Set up Node.js
if: env.FILES_CHANGED == 'true'
- uses: actions/setup-node@v2
+ uses: actions/setup-node@v4
with:
node-version: 'lts/*'
diff --git a/.github/workflows/web-tests.yml b/.github/workflows/web-tests.yml
index 7fe3f45a8a5..85e8b994737 100644
--- a/.github/workflows/web-tests.yml
+++ b/.github/workflows/web-tests.yml
@@ -43,7 +43,7 @@ jobs:
uses: actions/setup-node@v4
if: steps.changed-files.outputs.any_changed == 'true'
with:
- node-version: 20
+ node-version: 22
cache: pnpm
cache-dependency-path: ./web/package.json
diff --git a/web/Dockerfile b/web/Dockerfile
index 80ec6d652ca..dfc5ba8b46e 100644
--- a/web/Dockerfile
+++ b/web/Dockerfile
@@ -1,5 +1,5 @@
# base image
-FROM node:20-alpine3.20 AS base
+FROM node:22-alpine3.21 AS base
LABEL maintainer="[email protected]"
# if you located in China, you can use aliyun mirror to speed up