Skip to content

Commit 8b56eb5

Browse files
committed
fix(ci): build dist
1 parent fc48db6 commit 8b56eb5

File tree

2 files changed

+80
-2
lines changed

2 files changed

+80
-2
lines changed

package-lock.json

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

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
"url": "https://github.com/MrSwitch/hello.js/issues"
3333
},
3434
"scripts": {
35-
"prepublishOnly": "npm run build",
3635
"build": "bash ./build.sh",
3736
"lint": "eslint ./",
3837
"test": "npm run lint && npm run test:build && npm run test:browserstack",
@@ -42,6 +41,7 @@
4241
},
4342
"devDependencies": {
4443
"@semantic-release/changelog": "^5.0.1",
44+
"@semantic-release/exec": "^5.0.0",
4545
"@semantic-release/git": "^9.0.0",
4646
"browserstack-runner": "^0.9.0",
4747
"eslint": "^7.21.0",
@@ -71,6 +71,12 @@
7171
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
7272
}
7373
],
74+
[
75+
"@semantic-release/exec",
76+
{
77+
"prepareCmd": "npm run build"
78+
}
79+
],
7480
"@semantic-release/github"
7581
]
7682
}

0 commit comments

Comments
 (0)