Skip to content

ci: adopt trusted publishing#772

Merged
JoshuaKGoldberg merged 2 commits intoJoshuaKGoldberg:mainfrom
michaelfaith:ci/trusted-publishing
Jan 2, 2026
Merged

ci: adopt trusted publishing#772
JoshuaKGoldberg merged 2 commits intoJoshuaKGoldberg:mainfrom
michaelfaith:ci/trusted-publishing

Conversation

@michaelfaith
Copy link
Copy Markdown
Contributor

PR Checklist

Overview

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.

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
Copy link
Copy Markdown

codecov bot commented Dec 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.46%. Comparing base (0d938cd) to head (0e9662a).
⚠️ Report is 1 commits behind head on main.

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           
Flag Coverage Δ
4.8.4 60.07% <ø> (ø)
latest 60.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@michaelfaith
Copy link
Copy Markdown
Contributor Author

Waiting on #776

@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review January 2, 2026 14:08
@JoshuaKGoldberg JoshuaKGoldberg merged commit f164948 into JoshuaKGoldberg:main Jan 2, 2026
22 checks passed
@JoshuaKGoldberg
Copy link
Copy Markdown
Owner

ts-api-utils@2.4.0 is now published with provenance.

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 

🎁
@michaelfaith michaelfaith deleted the ci/trusted-publishing branch January 2, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🛠 Tooling: provenance statement missing in latest versions

2 participants