Skip to content

Commit fc501f2

Browse files
committed
ci: Add clean script
1 parent 243f8c6 commit fc501f2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ jobs:
4747
with:
4848
repo-token: '${{ secrets.GITHUB_TOKEN }}'
4949
pattern: '**/dist/**/*.{js,mjs,cjs}'
50+
clean-script: 'clean'

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
},
2828
"scripts": {
2929
"prepare": "npx simple-git-hooks",
30+
"clean": "rm -rf dist",
3031
"build": "microbundle -f cjs,es,umd --no-generateTypes",
3132
"test": "npm run test:types & npm run test:browser",
3233
"test:browser": "wtr test/browser/*.test.{js,jsx}",

0 commit comments

Comments
 (0)