ci: adopt trusted publishing#772
Merged
JoshuaKGoldberg merged 2 commits intoJoshuaKGoldberg:mainfrom Jan 2, 2026
Merged
Conversation
This change shifts to using trusted publisher. Provenance is automatically handled by the trusted publishing connection, without needing to enable it. I also added more versions of node to the test matrix
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #772 +/- ##
=======================================
Coverage 61.46% 61.46%
=======================================
Files 35 35
Lines 2948 2948
Branches 473 473
=======================================
Hits 1812 1812
Misses 1136 1136
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
Waiting on #776 |
3 tasks
3 tasks
Closed
2 tasks
Owner
|
|
3 tasks
JoshuaKGoldberg
added a commit
to JoshuaKGoldberg/create-typescript-app
that referenced
this pull request
Jan 2, 2026
<!-- 👋 Hi, thanks for sending a PR to create-typescript-app! Please fill out all fields below and make sure each item is true and [x] checked. Otherwise we may not be able to review your PR. --> ## PR Checklist - [x] Addresses an existing open issue: fixes #2270 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/create-typescript-app/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Adopts the same flow as what @michaelfaith set up for ts-api-utils in JoshuaKGoldberg/ts-api-utils#772. That is: * Remove the `NPM_TOKEN` secret _(yay! one less manual secret token!)_ * Add a next step of setting the repo's trusted publishing in `https://www.npmjs.com/package/*/access` _(darn, still a manual step)_ * Switch `npm`'s settings in `.release-it.json` from publish args to the general `skipChecks` Co-authored-by: @michaelfaith 🎁
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
status: accepting prsOverview
This change shifts to using trusted publisher. Provenance is automatically handled by the trusted publishing connection, without needing to enable it.
I also added more versions of node to the test matrix
Note: for the work on this to be complete, the Trusted Publishing config will need to be set up on the NPM side as well.