Skip to content

ci: enable OIDC publishing #258

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

Merged
merged 3 commits into from
Aug 1, 2025
Merged

ci: enable OIDC publishing #258

merged 3 commits into from
Aug 1, 2025

Conversation

ocavue
Copy link
Owner

@ocavue ocavue commented Jul 28, 2025

See also:

TODOs:

Before using OIDC for publishing, ensure your package settings on npmjs.com are configured to allow CI/CD workflows.

  1. Log in to your npm account and navigate to the Package Settings page for the package you want to publish.
  2. Add a new connection for a Trusted Publisher and fill out the details.
  3. Save your changes to apply the new settings.

Copy link

pkg-pr-new bot commented Jul 28, 2025

Open in StackBlitz

npm i https://pkg.pr.new/ocavue/eslint-config/@ocavue/eslint-config@258

commit: 0267f01

@ocavue ocavue changed the title ci: enable oidc publish ci: enable OIDC publish Jul 28, 2025
@ocavue ocavue force-pushed the ocavue/npm-oidc branch from f06f501 to a8274bb Compare July 28, 2025 09:37
@ocavue ocavue changed the title ci: enable OIDC publish ci: enable OIDC publishing Jul 28, 2025
@@ -22,10 +20,20 @@ runs:
cache: pnpm
registry-url: 'https://registry.npmjs.org'

- name: Setup ni
run: npm i -g @antfu/ni
- name: Check npm version
Copy link
Owner Author

@ocavue ocavue Jul 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this once new Node.js is released

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this once new Node.js is released

@ocavue ocavue merged commit 0c170e7 into master Aug 1, 2025
3 checks passed
@ocavue ocavue deleted the ocavue/npm-oidc branch August 1, 2025 05:55
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.

2 participants