René's URL Explorer Experiment


Title: ci(npm): publish every npm package through trusted publishing by waleedlatif1 · Pull Request #9790 · simstudioai/sim · GitHub

Open Graph Title: ci(npm): publish every npm package through trusted publishing by waleedlatif1 · Pull Request #9790 · simstudioai/sim

X Title: ci(npm): publish every npm package through trusted publishing by waleedlatif1 · Pull Request #9790 · simstudioai/sim

Description: Summary The four npm publish workflows (sim, sim-setup, simstudio, simstudio-ts-sdk) authenticate with npm trusted publishing instead of the long-lived NPM_TOKEN secret. The runner's OIDC token is exchanged for a short-lived npm credential at publish time, so no npm credential is stored anywhere, and every release now carries a provenance attestation. OIDC: each publish job requests id-token: write and runs Node 24, whose bundled npm 11 is the minimum trusted publishing supports. sim and sim-setup publish the tarball they smoke-tested. npm publish replaces bun publish, since npm's CLI is what performs the OIDC exchange. bun pm pack still builds the tarball, because it rewrites workspace: ranges. That one tarball is smoke-tested on Node 20, then published as is, and npm runs no lifecycle scripts for a tarball, so nothing is rebuilt between test and publish. The smoke tests now also check that --version reports the bumped release version. sim-setup republishes when its own workflow changes, as sim already does. simstudio gets a repository field. Provenance requires it to match this repo. The setup action drops its registry-url input. It existed only to wire NODE_AUTH_TOKEN into an .npmrc. Merge order Merge only after each package has a trusted publisher configured on npmjs.com (repository simstudioai/sim, the workflow file below, npm publish allowed). Merged earlier, every publish fails. Package Workflow simstudio publish-cli.yml sim publish-sim-cli.yml sim-setup publish-sim-setup.yml simstudio-ts-sdk publish-ts-sdk.yml Once all four have published through OIDC, the NPM_TOKEN secret is removed, and each package is set to disallow token publishing. Testing Built sim and sim-setup locally, packed each with a preview version, and ran the workflows' smoke checks against the tarball: version match, the full sim-setup command --help sweep, and no repository source directories in the tarball. npm publish --dry-run resolved the right name, version, tag and access for both. The packed manifests contain no workspace: ranges. actionlint reports nothing new. The real proof is the first publish of each package after merge, which I'll watch. 🤖 Generated with Claude Code

Open Graph Description: Summary The four npm publish workflows (sim, sim-setup, simstudio, simstudio-ts-sdk) authenticate with npm trusted publishing instead of the long-lived NPM_TOKEN secret. The runner's OIDC token...

X Description: Summary The four npm publish workflows (sim, sim-setup, simstudio, simstudio-ts-sdk) authenticate with npm trusted publishing instead of the long-lived NPM_TOKEN secret. The runner's OIDC t...

Opengraph URL: https://github.com/simstudioai/sim/pull/9790

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:a61f8236-cc0c-c551-7424-3f17dbc513e9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9E6A:34E5C3:A46B6D:E0B3B9:6AFBD9DD
html-safe-nonce6fddc33aee8c04fa759889b97468434fc559a6610560885d53b22cc5a5e290e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTZBOjM0RTVDMzpBNDZCNkQ6RTBCM0I5OjZBRkJEOUREIiwidmlzaXRvcl9pZCI6IjE0NTQyOTIzMjY0MDU2MjYzMzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac132a15e603a3020e7b8d4ebd47a4e49669663bd062ede4340a616957bb5e7b64
hovercard-subject-tagpull_request:5206166309
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/9790/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary The four npm publish workflows (sim, sim-setup, simstudio, simstudio-ts-sdk) authenticate with npm trusted publishing instead of the long-lived NPM_TOKEN secret. The runner's OIDC token...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None18742cb872ec73544356e60359266b67aafece70c4ce008042e06227924cdd07
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release820be804f18e1ef3940bd74a00d41d73d02e2b91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/9790/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9790%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F9790%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/9790/files
Reloadhttps://github.com/simstudioai/sim/pull/9790/files
Reloadhttps://github.com/simstudioai/sim/pull/9790/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests201 (201)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
chore/npm-trusted-publishinghttps://github.com/simstudioai/sim/tree/chore/npm-trusted-publishing
Conversation 17 https://github.com/simstudioai/sim/pull/9790
Commits 2 https://github.com/simstudioai/sim/pull/9790/commits
Checks 83 https://github.com/simstudioai/sim/pull/9790/checks
Files changed https://github.com/simstudioai/sim/pull/9790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9790/files
ci(npm): publish every npm package through trusted publishing https://github.com/simstudioai/sim/pull/9790/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/9790/files
890fc18 ci(npm): publish every npm package through trusted publishing waleedlatif1 Nov 7, 2026 https://github.com/simstudioai/sim/pull/9790/commits/890fc18bd646f44565c64c9b6a39b691e4d9e4eb
583e8cb ci(npm): publish from a GitHub-hosted job that alone can mint the OID… waleedlatif1 Nov 7, 2026 https://github.com/simstudioai/sim/pull/9790/commits/583e8cb97b93a6238c33cd77be487ecaccab7974
Clear filters https://github.com/simstudioai/sim/pull/9790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9790/files
action.yml https://github.com/simstudioai/sim/pull/9790/files#diff-9fb8259afcb532c9556e2d41ae1ee97cf6de54b486cef93a7ef1bf39433fa530
publish-cli.yml https://github.com/simstudioai/sim/pull/9790/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
publish-sim-cli.yml https://github.com/simstudioai/sim/pull/9790/files#diff-fbcf47b42bc89dfa2036913f1527d4a5c64109223ce9a9e62f049b925203c430
publish-sim-setup.yml https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
publish-ts-sdk.yml https://github.com/simstudioai/sim/pull/9790/files#diff-5f7ed4d4a13d3f069b4e89cc147c736df908bef8d366f8652c41f326165b6043
package.json https://github.com/simstudioai/sim/pull/9790/files#diff-6e2e2a1851648938b325ba84de634407a4e69a644ea61102df15ca4a8a7a9758
.github/actions/setup/action.ymlhttps://github.com/simstudioai/sim/pull/9790/files#diff-9fb8259afcb532c9556e2d41ae1ee97cf6de54b486cef93a7ef1bf39433fa530
View file https://github.com/simstudioai/sim/blob/583e8cb97b93a6238c33cd77be487ecaccab7974/.github/actions/setup/action.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9790/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9790/files#diff-9fb8259afcb532c9556e2d41ae1ee97cf6de54b486cef93a7ef1bf39433fa530
https://github.com/simstudioai/sim/pull/9790/files#diff-9fb8259afcb532c9556e2d41ae1ee97cf6de54b486cef93a7ef1bf39433fa530
https://github.com/simstudioai/sim/pull/9790/files#diff-9fb8259afcb532c9556e2d41ae1ee97cf6de54b486cef93a7ef1bf39433fa530
.github/workflows/publish-cli.ymlhttps://github.com/simstudioai/sim/pull/9790/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
View file https://github.com/simstudioai/sim/blob/583e8cb97b93a6238c33cd77be487ecaccab7974/.github/workflows/publish-cli.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9790/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9790/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
https://github.com/simstudioai/sim/pull/9790/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
https://github.com/simstudioai/sim/pull/9790/files#diff-2710cb58a3ba7ed6e1ebae0fcfd9f667494e2953cb3a69512776cb13ad7e2e96
.github/workflows/publish-sim-cli.ymlhttps://github.com/simstudioai/sim/pull/9790/files#diff-fbcf47b42bc89dfa2036913f1527d4a5c64109223ce9a9e62f049b925203c430
View file https://github.com/simstudioai/sim/blob/583e8cb97b93a6238c33cd77be487ecaccab7974/.github/workflows/publish-sim-cli.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9790/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9790/files#diff-fbcf47b42bc89dfa2036913f1527d4a5c64109223ce9a9e62f049b925203c430
https://github.com/simstudioai/sim/pull/9790/files#diff-fbcf47b42bc89dfa2036913f1527d4a5c64109223ce9a9e62f049b925203c430
https://github.com/simstudioai/sim/pull/9790/files#diff-fbcf47b42bc89dfa2036913f1527d4a5c64109223ce9a9e62f049b925203c430
https://github.com/simstudioai/sim/pull/9790/files#diff-fbcf47b42bc89dfa2036913f1527d4a5c64109223ce9a9e62f049b925203c430
https://github.com/simstudioai/sim/pull/9790/files#diff-fbcf47b42bc89dfa2036913f1527d4a5c64109223ce9a9e62f049b925203c430
https://github.com/simstudioai/sim/pull/9790/files#diff-fbcf47b42bc89dfa2036913f1527d4a5c64109223ce9a9e62f049b925203c430
.github/workflows/publish-sim-setup.ymlhttps://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
View file https://github.com/simstudioai/sim/blob/583e8cb97b93a6238c33cd77be487ecaccab7974/.github/workflows/publish-sim-setup.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/9790/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
https://github.com/simstudioai/sim/pull/9790/files#diff-9dc0585b78dbe0b2721f100a2d9fc382b6603481218df4f3eb3b250b74518683
Please reload this pagehttps://github.com/simstudioai/sim/pull/9790/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/9790/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.