Shippable / support

Shippable SaaS customers can report issues and feature requests in this repository
101 stars 28 forks source link

Trigger job from npm webhook #4481

Open BryanCrotaz opened 6 years ago

BryanCrotaz commented 6 years ago

When a third party npm package is published I want to update to use it and then build and test.

For extra points allow a semver filter to be applied Eg only if the published version falls within the semver filter specified in package.json. This would mean that the shippable script wouldn’t need updating as the code moves forwards.

manishas commented 6 years ago

@BryanCrotaz npm has hooks https://docs.npmjs.com/cli/hook, which can probably be used with a webhook resource to do what you need.

Let me know if that works. We don't have a sample for this today and I'll put a request in the backlog, but it'll be a few days before someone frees up.