run tests only in npm release task

This commit is contained in:
Christopher Möller
2020-11-02 14:06:53 +01:00
parent febf3012d7
commit 650fea80d5
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,6 @@
"release": true
},
"hooks": {
"before:init": ["npm test"],
"after:bump": "npm run build",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}

View File

@@ -23,7 +23,8 @@
"test:firefox": "cypress run --browser firefox",
"test:all": "npm run test:chrome && npm run test:firefox",
"test": "npm run dev:wait test:chrome",
"release": "release-it"
"release": "npm run test && release-it",
"release:next": "release-it"
},
"dependencies": {
"@babel/runtime": "^7.12.1",