egoist / tsup

The simplest and fastest way to bundle your TypeScript libraries.
https://tsup.egoist.dev
MIT License
9k stars 217 forks source link

chore(ci): automatically format code #1035

Closed ocavue closed 10 months ago

ocavue commented 10 months ago

Add a CI pipeline to automatically format code using Prettier and push the formated code to the origin branch. This CI won't push any commit to our main branches (main and `dev).

codesandbox[bot] commented 10 months ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tsup ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2023 0:40am
sxzz commented 10 months ago

We can push a commit into PRs as well

ocavue commented 10 months ago

We can push a commit into PRs as well

Sorry I don't get it. What do you mean by "push a commit into PRs"? The current implementation would already push commits if necessary.

sxzz commented 10 months ago

I mean, we can also auto-fix it if the PR is not formatted.

github-actions[bot] commented 10 months ago

:tada: This PR is included in version 8.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: