Skip to content

Commit 4947621

Browse files
author
niuweili
committed
fix: build error
1 parent 220bf4a commit 4947621

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/test-upload.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
node-version: 18
1919
registry-url: https://registry.npmjs.org/
20-
- run: npm ci
20+
- run: npm ci || (echo "npm ci failed, trying npm install" && rm -rf node_modules package-lock.json && npm install)
2121
- run: npm run upload
2222
env:
2323
CDN_ACCESS_KEY: ${{ secrets.CDN_ACCESS_KEY }}

0 commit comments

Comments
 (0)