Skip to content

Commit dc4ae81

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

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

.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'

index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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)