chore(identity-webhook): npm publish CI and v0.3.0 package prep#60
chore(identity-webhook): npm publish CI and v0.3.0 package prep#60eliteprox wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Pull request overview
This PR prepares identity-webhook/ for its first public npm release and adds CI/CD automation to publish @livepeer/clearinghouse-identity-webhook on semver tags using npm OIDC trusted publishing.
Changes:
- Add GitHub Actions workflows for tag-based npm publishing (
release.yml), manual semver bumps (bump-version.yml), and extend CI withnpm pack --dry-run. - Update
identity-webhook/package.jsonfor v0.3.0 publishing metadata (exports map, files list, repository/homepage/keywords, public access). - Add release documentation plus legacy env helpers and tests to support embedded/legacy integration.
Reviewed changes
Copilot reviewed 10 out of 13 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Documents npm package publishing location and links to releasing guide. |
| identity-webhook/protocol.d.ts | Adds public TypeScript declarations for the webhook protocol module. |
| identity-webhook/package.json | Prepares package for public publish (version bump, exports/files, metadata). |
| identity-webhook/package-lock.json | Updates lockfile version fields for v0.3.0. |
| identity-webhook/legacy-env.test.mjs | Adds tests for legacy env mapping + an end-to-end authorize flow. |
| identity-webhook/legacy-env.mjs | Introduces legacy env variable mapping helpers for OIDC verifier config. |
| identity-webhook/legacy-env.d.ts | Adds TypeScript declarations for legacy env helper entrypoint. |
| identity-webhook/docs/RELEASING.md | Documents OIDC trusted publishing setup and release process. |
| .github/workflows/release.yml | Implements tag-triggered npm publish via OIDC + GitHub Release creation. |
| .github/workflows/ci.yml | Extends CI to include npm pack --dry-run for identity-webhook changes. |
| .github/workflows/bump-version.yml | Adds manual workflow to bump version, commit, tag, and push. |
| .github/REPO_SETUP.md | Updates repo automation checklist to reflect new workflows. |
| .github/dependabot.yml | Adds weekly Dependabot updates for identity-webhook npm deps and GH Actions. |
Files not reviewed (1)
- identity-webhook/package-lock.json: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@rickstaa I'd like to publish this to npm as |
|
Added a livepeer-scoped bootstrap-publish workflow for the first npm create (OIDC alone E404s on a missing package), plus RELEASING.md steps. After the first publish, configure trusted publishing and delete Stacked follow-ups (coming next):
|
Add release, bump-version, bootstrap-publish, and dependabot workflows for publishing @livepeer/clearinghouse-identity-webhook via npm trusted publishing (OIDC). Prepare package exports/types and RELEASING docs; add repo MIT LICENSE. Checkout publish tags via refs/tags/ for safety.
e2805f8 to
6a0a865
Compare
|
Cleaned this PR to publish-only: removed |
| "files": [ | ||
| "protocol.mjs", | ||
| "protocol.d.ts", | ||
| "verifiers.mjs", | ||
| "verifiers.d.ts", |
…ackage Introduce MIT License and comprehensive README documentation for the @livepeer/clearinghouse-identity-webhook package, detailing installation, usage, and environment configuration for identity verification. This enhances clarity and accessibility for developers integrating the identity webhook into their projects.
Summary
@livepeer/clearinghouse-identity-webhookto npm onv*.*.*tags via OIDC trusted publishing (release.yml).bootstrap-publish.ymlfor the first scoped package create (npm OIDC cannot create a missing package).bump-version.yml+dependabot.yml; CInpm pack --dry-run../protocol,./verifiers), TypeScript types, MITLICENSE, RELEASING docs.Out of scope
legacy-envembedding helpers (deferred).Test plan
cd identity-webhook && npm ci && npm test && npm pack --dry-run --ignore-scriptsNPM_TOKENforv0.3.0(or create the package on npmjs.com manually)release.yml, then deleteNPM_TOKENv*.*.*tags and verify release publishes via OIDCOne-time npm setup (after merge)
See RELEASING.md.