feat: add step to remove dist/ directory before packaging
This commit is contained in:
@@ -37,6 +37,10 @@ jobs:
|
|||||||
node-version-file: .node-version
|
node-version-file: .node-version
|
||||||
cache: npm
|
cache: npm
|
||||||
|
|
||||||
|
- name: Remove dist/ Directory
|
||||||
|
id: remove-dist
|
||||||
|
run: npx rimraf ./dist
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
id: install
|
id: install
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
+1
-1
@@ -30,7 +30,7 @@
|
|||||||
"format:check": "npx prettier --check .",
|
"format:check": "npx prettier --check .",
|
||||||
"lint": "npx eslint .",
|
"lint": "npx eslint .",
|
||||||
"local-action": "npx @github/local-action . src/main.js .env",
|
"local-action": "npx @github/local-action . src/main.js .env",
|
||||||
"package": "npx rollup --config rollup.config.js",
|
"package": "npx rimraf ./dist && npx rollup --config rollup.config.js",
|
||||||
"package:watch": "npm run package -- --watch",
|
"package:watch": "npm run package -- --watch",
|
||||||
"test": "NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 npx jest",
|
"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"
|
"all": "npm run format:write && npm run lint && npm run test && npm run coverage && npm run package"
|
||||||
|
|||||||
Reference in New Issue
Block a user