From a33791c3de528eafd7591fa08343eda628de4ab6 Mon Sep 17 00:00:00 2001 From: yyh Date: Mon, 30 Mar 2026 15:39:14 +0800 Subject: [PATCH] force node24 for legacy GitHub actions --- .github/workflows/api-tests.yml | 3 +++ .github/workflows/autofix.yml | 3 +++ .github/workflows/db-migration-test.yml | 3 +++ .github/workflows/main-ci.yml | 3 +++ .github/workflows/vdb-tests.yml | 3 +++ 5 files changed, 15 insertions(+) diff --git a/.github/workflows/api-tests.yml b/.github/workflows/api-tests.yml index 7bce056970..8c6e5a1dde 100644 --- a/.github/workflows/api-tests.yml +++ b/.github/workflows/api-tests.yml @@ -9,6 +9,9 @@ on: permissions: contents: read +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + concurrency: group: api-tests-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index d8a53c9594..9339ce0d40 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -10,6 +10,9 @@ on: permissions: contents: read +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: autofix: if: github.repository == 'langgenius/dify' diff --git a/.github/workflows/db-migration-test.yml b/.github/workflows/db-migration-test.yml index ffb9734e48..7da34ce308 100644 --- a/.github/workflows/db-migration-test.yml +++ b/.github/workflows/db-migration-test.yml @@ -3,6 +3,9 @@ name: DB Migration Test on: workflow_call: +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + concurrency: group: db-migration-test-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/main-ci.yml b/.github/workflows/main-ci.yml index 2d96dae4da..95ee82477b 100644 --- a/.github/workflows/main-ci.yml +++ b/.github/workflows/main-ci.yml @@ -16,6 +16,9 @@ permissions: checks: write statuses: write +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + concurrency: group: main-ci-${{ github.head_ref || github.run_id }} cancel-in-progress: true diff --git a/.github/workflows/vdb-tests.yml b/.github/workflows/vdb-tests.yml index 7c4cd0ba8c..786a24a51f 100644 --- a/.github/workflows/vdb-tests.yml +++ b/.github/workflows/vdb-tests.yml @@ -3,6 +3,9 @@ name: Run VDB Tests on: workflow_call: +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + concurrency: group: vdb-tests-${{ github.head_ref || github.run_id }} cancel-in-progress: true