From 3af6a78ee2923cb6c6534996b65107803db739fe Mon Sep 17 00:00:00 2001 From: Haoqun Jiang Date: Mon, 28 Jul 2025 16:35:45 +0800 Subject: [PATCH] ci: add a dedupe step in playground dep installation --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf12b9ae..6c114053 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,7 +83,9 @@ jobs: run: pnpm install - name: Install dependencies in playground working-directory: ./playground - run: pnpm install --no-frozen-lockfile --ignore-scripts + run: | + pnpm install --no-frozen-lockfile --ignore-scripts + pnpm dedupe --ignore-scripts - name: Run build script in playground working-directory: ./playground @@ -125,7 +127,9 @@ jobs: run: pnpm install - name: Install dependencies in playground working-directory: ./playground - run: pnpm install --no-frozen-lockfile --ignore-scripts + run: | + pnpm install --no-frozen-lockfile --ignore-scripts + pnpm dedupe --ignore-scripts env: # Skip Cypress installation temporarily, we'll install it later with cache CYPRESS_INSTALL_BINARY: 0 -- 2.47.2