-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ci): add release workflow #409
Conversation
e9b8c51
to
2e938ad
Compare
b0ace1b
to
a00c94c
Compare
2e938ad
to
50322fa
Compare
.github/workflows/release.yml
Outdated
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc | ||
yarn lerna publish from-package --no-verify-access --yes | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here need to add npm secret to repo setting. I'm not permission with it and npm binding packages, look like @Brooooooklyn should have it, could you add it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ROLLDOWN_NPM_TOKEN
added, in case we will have more others NPM_TOKEN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge this if it's ready.
- @rolldown/[email protected] - @rolldown/[email protected] - @rolldown/[email protected]
50322fa
to
6cb24ac
Compare
Description
Here port release workflow from https://github.com/rolldown-rs/rolldown_legacy/pull/116. Here remove some platform test, only keep x86_64-apple-darwin/x86_64-pc-windows-msvc/x86_64-unknown-linux-gnu test.
The workflow is some steps at now:
yarn verison
at local,it will create new version for packages, and push it to one prRelease
workflow action at githubAction
tab, choose your branch. It will trigger release build and test and publish it.Test Plan
Here has a windows test crash, i will fix it at next days.