Skip to content

Commit 71d99a7

Browse files
committed
fix: use npm install --include=optional to ensure native binaries
- Switch from npm ci to npm install --include=optional - Forces installation of optional dependencies/native binaries - Addresses rollup and other native module installation issues - Known npm ci issue with optional dependencies
1 parent c26dfe6 commit 71d99a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
# Skip all cleanup since npm ci provides clean state
4040
# and cache cleaning can break native binaries
4141
echo "Clean state provided by npm ci"
42-
- run: npm ci
42+
- run: npm install --include=optional
4343
# - name: add macos cert
4444
# if: contains(matrix.os.name, 'macos') && secrets.MACOS_CERT_P12
4545
# env:

0 commit comments

Comments
 (0)