fix: use npm install fallback when package-lock.json missing
Some checks failed
JavaScript SDK Tests / test-js-sdk (push) Failing after 27s
security-scanning / audit (push) Has been cancelled

This commit is contained in:
2026-03-28 08:42:14 +01:00
parent a2094bf022
commit fc59e898e9

View File

@@ -37,7 +37,11 @@ jobs:
working-directory: packages/js/aitbc-sdk working-directory: packages/js/aitbc-sdk
run: | run: |
echo "=== INSTALLING JS SDK DEPENDENCIES ===" echo "=== INSTALLING JS SDK DEPENDENCIES ==="
npm ci if [ -f package-lock.json ]; then
npm ci
else
npm install
fi
echo "✅ Dependencies installed" echo "✅ Dependencies installed"
- name: Build TypeScript - name: Build TypeScript