-
Notifications
You must be signed in to change notification settings - Fork 13
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
ci: add support for automated releases #42
Conversation
A test run on my local fork created these artifacts:
|
We discussed in the 17 May Node-API meeting that the manual running of |
I'm moving this back to draft, as the custom release code could be replaced with https://github.com/googleapis/release-please-action similarly to nodejs/node-addon-api#1523. |
The release process was verified at nodejs/node-addon-api#1526. We can move this forward as well! |
Creates two new jobs,
prepare-release
andpublish-release
, as discussed in #13 (comment).The
publish-release
job requires a CI env secret,NPM_TOKEN
, as discussed here: Publishing packages to the npm registry.The
publish-release
job is not fully automated, and must be ran manually from the GitHub Actions interface.This PR also updates
sync-headers
to close outdated PRs if a new change comes in.Fixes: #13