create-t3-app
create-t3-app copied to clipboard
feat: add publish workflow when creating releases
Hi, I really liked your work here and I wanted to contribute to your project by adding a workflow for a GitHub Action that publish this package automatically to npm registry when creating releases in your repo. You just need to add NODE_AUTH_TOKEN
to your repo secrets and you should test it before using it if any thing occurs.
Thank you! Would have appreciated if we could have discussed this in an issue first.
We're not making releases on GitHub yet, but this PR definitely made me want. I will not merge this for now, but we're gonna implement releasing on GitHub automatically soon and after that I will merge this.
@nexxeln cool, glad to help!
@jammaligad done!
@JacobMGEvans it's done
I think we should look into merging this @nexxeln @JacobMGEvans
Is there a way to make this work with multiple tags? We have latest, next and beta.
It can be applied using the input from the manual action dispatch:
on:
workflow_dispatch:
inputs:
release-type:
description: 'Release type (one of): patch, minor, major, prepatch, preminor, premajor, prerelease'
required: true
I think we should look into merging this @nexxeln @JacobMGEvans
Is there a way to make this work with multiple tags? We have latest, next and beta.
Yes there is. You can see release Workflow here https://github.com/cloudflare/wrangler2/blob/main/.github/workflows/release.yml
You can see beta
prerelease here https://github.com/cloudflare/wrangler2/blob/main/.github/workflows/prereleases.yml
Superseded by #308