Skip to content

Commit 32cbf31

Browse files
committed
ci: add npm pkg delete scripts devDependencies before npm publish
1 parent 5d22447 commit 32cbf31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish-latest.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
cache: "npm"
2323
- run: npm ci
2424
- run: npm run build
25+
- run: npm pkg delete scripts devDependencies
2526
- run: npm publish --provenance --tag=latest
2627
env:
2728
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)