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.

fix(ci): avoid npm bootstrap in web setup (#41804)

yyh9e68c45058a9
diff --git a/.github/actions/setup-web/action.yml b/.github/actions/setup-web/action.yml
index dbc20df50af..69565020d79 100644
--- a/.github/actions/setup-web/action.yml
+++ b/.github/actions/setup-web/action.yml
@@ -4,13 +4,13 @@ description: Set up Node.js, Vite+, pnpm, and web dependencies
runs:
using: composite
steps:
- - name: Setup pnpm
- uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
+ - name: Setup pnpm and Node.js
+ uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b # v2.1.0
with:
- run_install: false
+ install: false
- name: Setup Vite+
uses: voidzero-dev/setup-vp@1b32467adbe183473499fd9d5d372c3ed9641754 # v1.18.0
with:
- node-version-file: package.json
+ node-manager: false
cache: true
run-install: true
diff --git a/.github/workflows/cli-e2e.yml b/.github/workflows/cli-e2e.yml
index 51c5485ce0f..b58e94d9b0d 100644
--- a/.github/workflows/cli-e2e.yml
+++ b/.github/workflows/cli-e2e.yml
@@ -87,10 +87,9 @@ jobs:
with:
bun-version: latest
- - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
+ - uses: pnpm/setup@703c52620218391530e48b9e8870d5c0082e1b9b # v2.1.0
with:
- package_json_field: packageManager
- run_install: false
+ install: false
- name: Install CLI dependencies
working-directory: cli
@@ -131,11 +130,6 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- with:
- package_json_field: packageManager
- run_install: false
- - run: pnpm install --frozen-lockfile
- run: pnpm tree:gen
- name: Run framework + output + error-handling
@@ -181,11 +175,6 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- with:
- package_json_field: packageManager
- run_install: false
- - run: pnpm install --frozen-lockfile
- run: pnpm tree:gen
- name: Run discovery suite
@@ -247,11 +236,6 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- with:
- package_json_field: packageManager
- run_install: false
- - run: pnpm install --frozen-lockfile
- run: pnpm tree:gen
- name: 'Run run/${{ matrix.name }}'
@@ -312,11 +296,6 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- with:
- package_json_field: packageManager
- run_install: false
- - run: pnpm install --frozen-lockfile
- run: pnpm tree:gen
- name: Run auth/login + status + whoami
@@ -371,11 +350,6 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- - uses: pnpm/action-setup@0977fd99725f1db4007ccb2928dbb4e90d06cc86 # v6.0.10
- with:
- package_json_field: packageManager
- run_install: false
- - run: pnpm install --frozen-lockfile
- run: pnpm tree:gen
- name: Run use / devices / logout / agent (serial)