Skip to content

Support semantic-release. #408

Closed
Closed
@johnjbarton

Description

@johnjbarton
Contributor

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

johnjbarton commented on Mar 23, 2020

@johnjbarton
ContributorAuthor

@anthony-redFox is this something you might consider?

anthony-redFox

anthony-redFox commented on Mar 24, 2020

@anthony-redFox
Collaborator

Agree, prepare new major release after update Istanbul major version libs and drop node 8 node as general karma did.

added a commit that references this issue on Apr 12, 2020
f3f4a09
karmarunnerbot

karmarunnerbot commented on Apr 13, 2020

@karmarunnerbot
Member

🎉 This issue has been resolved in version 2.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

johnjbarton

johnjbarton commented on Apr 14, 2020

@johnjbarton
ContributorAuthor

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

anthony-redFox commented on Apr 28, 2020

@anthony-redFox
Collaborator

yes, semantic-release get from folder node_modules/bin but npm run semantic-release execute semantic-release script from package.json.

language: node_js yes any module could be execute through a command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Participants

    @johnjbarton@anthony-redFox@karmarunnerbot

    Issue actions

      Support semantic-release. · Issue #408 · karma-runner/karma-coverage