From a0c8c0436a03473eae1d2945ae7b58b56178bfba Mon Sep 17 00:00:00 2001 From: danstarns Date: Sun, 19 Jan 2025 12:33:55 -0800 Subject: [PATCH] fix: optional install --- .github/actions/setup-project/action.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-project/action.yml b/.github/actions/setup-project/action.yml index 456a667..e6da67a 100644 --- a/.github/actions/setup-project/action.yml +++ b/.github/actions/setup-project/action.yml @@ -33,9 +33,13 @@ runs: run: npm install -g node-gyp@11.0.0 shell: bash - - name: Install dependencies + - name: Install dependencies with increased network timeout shell: bash - run: pnpm install + run: | + # Install with --no-optional to skip problematic optional dependencies during initial install + pnpm install --no-optional --network-timeout 100000 + # Then install again with full install to get optional dependencies + pnpm install --network-timeout 100000 - name: Build project run: pnpm build