Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

npm trusted publishing lets a supported CI/CD workflow authenticate to npm with OpenID Connect (OIDC) and short-lived credentials instead of a long-lived npm publish token. To set it up, configure the package on npm to trust the exact CI identity, grant the workflow the provider-specific OIDC permissions, and run a successful publish promptly. The feature requires npm CLI 11.5.1 or later and Node.js 22.14.0 or later. It does not replace credentials needed to install private dependencies.

What npm trusted publishing changes—and what it does not

With traditional automation, a workflow commonly stores an npm write token as a secret. Anyone or anything that obtains that token may be able to use it until it expires or is revoked. Trusted publishing instead lets npm verify a configured CI/CD identity through OIDC and issue short-lived credentials for the permitted publishing operation. npm describes the feature as publishing directly from CI/CD workflows using OIDC, “eliminating the need for long-lived npm tokens” for that purpose: npm trusted publishing documentation.

This is not a general login for the npm CLI. Trusted publishing can authorize package publishing, staging a package for later approval, and distribution-tag operations when explicitly permitted. It does not authenticate package installation or unrelated npm commands. If a build needs to download private dependencies, retain a separate, read-only granular token for installation where applicable.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check requirements and choose the supported CI provider

npm’s documented trusted-publishing support requires npm CLI 11.5.1 or later and Node.js 22.14.0 or later. The currently documented environments are GitHub Actions on GitHub-hosted runners, GitLab CI/CD on GitLab.com shared runners, and CircleCI cloud. Self-hosted runners are not currently supported. Confirm the runner and tool versions used by the actual release job, not merely those on a developer workstation.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application:Upgraded attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.
Provider Supported runner or service Identity to configure at npm OIDC setup in CI Automatic provenance
GitHub Actions GitHub-hosted runners Owner or organization, repository, workflow filename (including .yml or .yaml), and optionally GitHub environment Grant id-token: write to the publishing workflow Available for qualifying public repositories and packages; not for private repositories
GitLab CI/CD GitLab.com shared runners Namespace, project, CI file path, and optionally environment Set the id_tokens audience to npm:registry.npmjs.org Available for qualifying public repositories and packages; not for private repositories
CircleCI CircleCI cloud CircleCI organization, project, pipeline definition IDs, and VCS origin Obtain an audience-scoped OIDC token and expose it to npm as NPM_ID_TOKEN Not generated for CircleCI trusted publishes

These support and provenance conditions are described in npm’s trusted-publishing documentation. Availability can change, so check the current provider instructions before changing a release pipeline.

Prepare the package and release workflow

Pin down the CI identity

Identify the exact package, repository or project, and workflow or pipeline definition that will publish. npm checks identity claims against the trusted-publisher settings; a near match is still a mismatch. For GitHub, note the workflow file’s filename rather than its path. For GitLab, note the CI file path. Also decide whether the job should release directly or only stage a package for maintainer approval.

Confirm the release job’s runtime

Ensure the job that performs the npm publish uses the required Node.js and npm versions. If your workflow installs or selects versions dynamically, verify the resolved versions in that job. A compliant local setup does not make an older CI runtime compliant.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth

Configure npm and CI for your provider

In the package settings on npmjs.com, open the trusted-publishing section and create a trusted-publisher connection for the selected provider. Enter the identity fields exactly as they appear in the CI configuration. npm does not validate every field when you save the connection, so saving successfully is not proof that the workflow will authenticate.

GitHub Actions

  1. In the npm package’s trusted-publishing settings, choose GitHub Actions and enter the owner or organization, repository, workflow filename, and optional GitHub environment. Include the filename extension; do not enter a directory path in the workflow filename field.
  2. In the publishing workflow, grant the job or workflow id-token: write. Keep other permissions no broader than the workflow needs.
  3. Run the intended publish job on a GitHub-hosted runner using the required Node.js and npm versions.

Follow npm’s GitHub Actions trusted-publisher instructions for the current settings and workflow details.

GitLab CI/CD

  1. In npm’s trusted-publishing settings, choose GitLab and enter the namespace, project, CI file path, and optional environment matching the pipeline that will publish.
  2. Configure the job’s id_tokens audience as npm:registry.npmjs.org.
  3. Run the publishing job on a GitLab.com shared runner with the required Node.js and npm versions.

The audience must match exactly. See npm’s GitLab CI/CD trusted-publisher instructions.

Rank #3
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.

CircleCI

  1. In npm’s trusted-publishing settings, choose CircleCI and enter the CircleCI organization, project, and pipeline definition IDs, along with the VCS origin.
  2. Configure the workflow to obtain an audience-scoped OIDC token and make it available to npm in NPM_ID_TOKEN.
  3. Run the publish job in CircleCI cloud with the required Node.js and npm versions.

Use npm’s CircleCI trusted-publisher instructions for the token and pipeline configuration expected by the current integration.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Using npm trust commands

The npm CLI also provides npm trust commands to create trusted-publishing relationships. Direct publishing and stage publishing require at least one permission to be granted. If you configure the relationship through the CLI, choose permissions that match the release process rather than granting capabilities the workflow does not need. See the npm trusted-publishing documentation for available commands and permissions.

Verify the workflow before retiring tokens

A newly created trusted-publisher configuration must complete its first successful publish within two days or it expires. Schedule a real test publish soon after setup, using the intended repository, workflow and environment. Do not revoke the existing automation token before the OIDC workflow has succeeded.

Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
  1. Start the exact CI workflow that will publish, rather than testing a different job or a local command.
  2. Confirm the workflow is using the required Node.js and npm versions and a supported runner.
  3. Check the npm package settings against the identity in the job: provider, owner or namespace, repository or project, workflow filename or CI file path, optional environment, and provider-specific token settings.
  4. Verify the operation that matters to your release process: publish directly, or stage for approval. Confirm the package or staged version appears as expected in npm.
  5. After OIDC publishing works, restrict traditional token-based publishing access in package settings if that fits your process, then revoke automation tokens that are no longer needed.

If the first publish fails, correct the identity or token configuration and rerun the intended workflow within the two-day window. npm’s configuration-save step does not catch every mismatch; successful execution is the meaningful validation.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Choose direct publishing or a human approval gate

Direct publish

Use direct publishing when the CI workflow is authorized to release a version as soon as its checks pass. Grant only the trusted-publisher permissions needed for that operation, and preserve any independent review or release controls your project requires.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Stage for approval

Stage-only publishing lets CI submit the package while requiring a human to review and approve it before public release. This separates the ability to build and submit from the final release decision. Choose this path when that approval is an intentional part of the team’s release process, and configure the corresponding stage-publish permission.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.

What provenance does—and does not—come with trusted publishing

Automatic provenance is not guaranteed by enabling OIDC. npm documents provenance for GitHub Actions and GitLab CI/CD when the repository and package meet its qualifying public-project conditions. Private repositories do not qualify, and CircleCI trusted publishing does not currently generate automatic provenance. Treat authentication and provenance as separate properties: a successful trusted publish does not by itself establish that provenance was generated.

For current eligibility details, consult npm’s trusted-publishing documentation.

Troubleshoot common authentication failures

  • GitHub reports an identity or authentication mismatch: Compare the npm owner or organization, repository, workflow filename including extension, and optional environment with the workflow that actually ran. Check that the job has id-token: write.
  • GitLab cannot authenticate: Verify namespace, project, CI file path and optional environment, then check that the OIDC token audience is exactly npm:registry.npmjs.org.
  • CircleCI cannot authenticate: Recheck organization, project, pipeline definition IDs, and VCS origin; confirm the audience-scoped token is supplied to npm as NPM_ID_TOKEN.
  • The job runs on a self-hosted runner: The currently documented support does not include self-hosted runners. Move the publishing job to a supported runner or use another authentication approach.
  • Publishing works but private dependency installation fails: Trusted publishing does not grant install access. Use a separate read-only granular token for private dependency installation where needed.
  • Publishing works but provenance is absent: Check whether the provider, repository visibility, and package meet npm’s documented provenance conditions; CircleCI trusted publishing and private repositories are not covered by automatic provenance.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.