Skip to content

Commit ce082b3

Browse files
authored
Merge pull request #50 from flashcatcloud/f-dingtalk-alert
fix: npm ci
2 parents 48f0229 + b95f931 commit ce082b3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
with:
1818
node-version: 18
1919
registry-url: https://registry.npmjs.org/
20-
- run: rm -rf node_modules package-lock.json
21-
- run: npm install --no-cache
20+
- run: npm cache clean --force
21+
- run: npm ci
2222
- run: npm publish
2323
env:
2424
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/prod-upload.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
with:
1818
node-version: 18
1919
registry-url: https://registry.npmjs.org/
20-
- run: rm -rf node_modules package-lock.json
21-
- run: npm install --no-cache
20+
- run: npm cache clean --force
21+
- run: npm ci
2222
- run: npm run upload
2323
env:
2424
CDN_ACCESS_KEY: ${{ secrets.CDN_ACCESS_KEY }}

0 commit comments

Comments
 (0)