Skip to content

Commit eb1095b

Browse files
sealdayclaude
andcommitted
fix(ci): use correct pnpm flag --no-optional
The correct pnpm flag is --no-optional, not --ignore-optional. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 26216e3 commit eb1095b

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
6363
libxdo-dev
6464
6565
- name: Install dependencies
66-
# Use --ignore-optional to skip platform-specific @tego/bot-* packages
66+
# Use --no-optional to skip platform-specific @tego/bot-* packages
6767
# which are only published during releases and don't exist during CI
68-
run: pnpm install -r --ignore-optional
68+
run: pnpm install -r --no-optional
6969

7070
- name: Build
7171
run: pnpm build

.github/workflows/docs-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
- name: Setup Pages
4444
uses: actions/configure-pages@v4
4545
- name: Install dependencies
46-
# Use --ignore-optional to skip platform-specific @tego/bot-* packages
46+
# Use --no-optional to skip platform-specific @tego/bot-* packages
4747
# which are only published during releases and don't exist during CI
48-
run: pnpm install --ignore-optional
48+
run: pnpm install --no-optional
4949
- name: Build with VitePress
5050
run: pnpm docs:build
5151
- name: Upload artifact

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ jobs:
7373
linux-libc-dev
7474
7575
- name: Install dependencies
76-
# Use --ignore-optional to skip platform-specific @tego/bot-* packages
76+
# Use --no-optional to skip platform-specific @tego/bot-* packages
7777
# which are only published during releases and don't exist during CI
78-
run: pnpm install -r --ignore-optional
78+
run: pnpm install -r --no-optional
7979

8080
- name: Build NAPI binary
8181
run: |
@@ -203,9 +203,9 @@ jobs:
203203
version: 8
204204

205205
- name: Install dependencies
206-
# Use --ignore-optional to skip platform-specific @tego/bot-* packages
206+
# Use --no-optional to skip platform-specific @tego/bot-* packages
207207
# which are only published during releases and don't exist during CI
208-
run: pnpm install -r --ignore-optional
208+
run: pnpm install -r --no-optional
209209

210210
- name: Download all artifacts
211211
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)