Skip to content

Commit

Permalink
run tests only in npm release task
Browse files Browse the repository at this point in the history
  • Loading branch information
chrtze committed Nov 2, 2020
1 parent febf301 commit 650fea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}."
}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 650fea8

Please sign in to comment.