mirror of
https://github.com/actions/hello-world-javascript-action.git
synced 2025-12-12 04:27:12 +00:00
Fix package script to clean dist directory before bundling
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
"format:write": "npx prettier --write .",
|
||||
"format:check": "npx prettier --check .",
|
||||
"lint": "npx eslint .",
|
||||
"package": "npx rollup --config rollup.config.js",
|
||||
"package": "npx rimraf ./dist && npx rollup --config rollup.config.js",
|
||||
"package:watch": "npm run package -- --watch",
|
||||
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
|
||||
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
|
||||
|
||||
Reference in New Issue
Block a user