Closed
Description
The karma-jasmine and karma-sauce-launcher projects have set up semantic-release, allowing reviewed commits to trigger npm releases with out waiting.
The steps are covered by commits on those projects. Roughly we need commitlint, a semantic-release dependency, a release-config, and some triggers in the travis.yml file.
Activity
johnjbarton commentedon Mar 23, 2020
@anthony-redFox is this something you might consider?
anthony-redFox commentedon Mar 24, 2020
Agree, prepare new major release after update Istanbul major version libs and drop node 8 node as general karma did.
chore: add semantic-release for project - fix karma-runner#408
karmarunnerbot commentedon Apr 13, 2020
🎉 This issue has been resolved in version 2.0.2 🎉
The release is available on:
Your semantic-release bot 📦🚀
johnjbarton commentedon Apr 14, 2020
heh, I'm trying to figure out how this worked.
The .travis.yml just says
semantic-release
https://github.com/karma-runner/karma-coverage/blob/master/.travis.yml#L15
rather than
npm run semantic-release
which would run the npm script in the package.json.I gather that with
language: node_js
any module becomes a command?anthony-redFox commentedon Apr 28, 2020
yes,
semantic-release
get from folder node_modules/bin butnpm run semantic-release
executesemantic-release
script from package.json.language: node_js
yes any module could be execute through a command.