chore: add prerelease check
This commit is contained in:
parent
12b93f045b
commit
c6f8628c22
1 changed files with 2 additions and 1 deletions
|
@ -5,7 +5,8 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
"release": "semantic-release"
|
"prerelease": "cargo build && cargo test",
|
||||||
|
"release": "npm run prerelease && semantic-release"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue