Run npm test in CI mode for releases

This commit is contained in:
Lars Strojny 2022-11-10 13:43:11 +01:00
parent ab90f03264
commit fd113c1868

View file

@ -3,7 +3,7 @@
"release": true "release": true
}, },
"hooks": { "hooks": {
"before:init": ["test `git rev-parse --abbrev-ref HEAD` == 'develop'", "npm run lint", "npm test"], "before:init": ["test `git rev-parse --abbrev-ref HEAD` == 'develop'", "npm run lint", "CI=1 npm test"],
"after:bump": "npm run build" "after:bump": "npm run build"
} }
} }