Skip to content

Commit 6b2d10d

Browse files
committed
review: add error catching around npm i
1 parent 750237d commit 6b2d10d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/sdk-breaking-change-check.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,10 @@ jobs:
142142
ls -la ./local-sdk-package/
143143
144144
echo "🔗 Installing local SDK package..."
145-
npm install ./local-sdk-package
145+
if ! npm install ./local-sdk-package; then
146+
echo "::error::Failed to install SDK package locally"
147+
exit 1
148+
fi
146149
147150
echo "🔍 Running TypeScript type checking for ${CLIENT_LABEL} client with SDK version: ${SDK_VERSION}"
148151
echo "🎯 Type checking command: npm run test:types"

0 commit comments

Comments
 (0)