Skip to content

Commit 77f1dee

Browse files
author
niuweili
committed
fix: 清除npm缓存
1 parent 4947621 commit 77f1dee

2 files changed

Lines changed: 657 additions & 1 deletion

File tree

.github/workflows/test-upload.yml

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

0 commit comments

Comments
 (0)