Skip to content

Commit c6fd4ab

Browse files
committed
build: run tests in preversion, not just lint and typecheck
preversion is the only gate between a bump and a tag, and it was letting a failing test suite through. 83 tests, a few seconds.
1 parent 8ca079f commit c6fd4ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"build-example": "webpack",
1919
"dev": "webpack serve --open",
2020
"prepublishOnly": "npm run build",
21-
"preversion": "npm run lint && npm run typecheck",
21+
"preversion": "npm run lint && npm run typecheck && npm test",
2222
"version": "git add CHANGELOG.md",
2323
"postversion": "git push && git push --tags"
2424
},

0 commit comments

Comments
 (0)