ci: retry npm install once after a failure (#8280)

This commit is contained in:
Evgeny @ SimpleX Chat authored and GitHub committed 2026-11-21 19:12:53 +00:00
1 parent 63c4f54a89
commit abc483d9d0
4 files changed
+18 -5

No files matched your search

+3 -3
View File
@@ -1925,8 +1925,8 @@ jobs:
if: steps.plan.outputs.nodejs_version
working-directory: packages/simplex-chat-nodejs
run: |
(cd ../simplex-chat-client/types/typescript && npm install --no-audit --no-fund && npx tsc)
npm install --ignore-scripts --no-save --no-audit --no-fund ../simplex-chat-client/types/typescript
(cd ../simplex-chat-client/types/typescript && "$GITHUB_WORKSPACE/scripts/ci/npm-install.sh" && npx tsc)
"$GITHUB_WORKSPACE/scripts/ci/npm-install.sh" --ignore-scripts --no-save ../simplex-chat-client/types/typescript
npx tsc && cp src/simplex.* dist
npx jest tests/libs.test.ts tests/api.unit.test.ts
@@ -1942,7 +1942,7 @@ jobs:
VERSION: ${{ steps.plan.outputs.types_version }}
DIST_TAG: ${{ steps.plan.outputs.types_dist_tag }}
run: |
npm install --no-audit --no-fund
"$GITHUB_WORKSPACE/scripts/ci/npm-install.sh"
npm publish --provenance --access public --tag "$DIST_TAG"
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
+4
View File
@@ -28,6 +28,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
working-directory: website
run: ../scripts/ci/npm-install.sh
- name: Install dependencies & build
run: |
./website/web.sh