Skip to content

Commit

Permalink
fix: optional install
Browse files Browse the repository at this point in the history
  • Loading branch information
danstarns committed Jan 19, 2025
1 parent a0f19f7 commit a0c8c04
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/actions/setup-project/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a0c8c04

Please sign in to comment.