code4rena-dev / components-library

Components library for Code4rena, and accessible as a package to be used in React based Code4rena products.
https://components-library-wine.vercel.app
0 stars 0 forks source link

Change npm rls workflow to include drafts #69

Open SamusElderg opened 6 months ago

SamusElderg commented 6 months ago

We need to adjust the npm workflow. Currently if you create a draft release in GitHub and publish it later, the npm workflow is not triggered. (its only triggered when we skip the draft and just publish right away)

I think we can use [published] instead of [created] to trigger the workflow in both cases at the correct time (once the release is finalised) but im not 100% sure