[chores] Add process for first-time package publishing#2055
Merged
[chores] Add process for first-time package publishing#2055
Conversation
d2e20b5 to
1b58d6f
Compare
Drarig29
commented
Jan 15, 2026
Comment on lines
+261
to
+262
| node-version: '24' # Needed for OIDC publishing | ||
| registry-url: 'https://registry.npmjs.org' |
Contributor
Author
There was a problem hiding this comment.
Just cosmetic changes to follow https://docs.npmjs.com/trusted-publishers#automatic-provenance-generation more closely.
| - run: yarn install --immutable | ||
| - run: yarn build | ||
| - run: yarn publish:all | ||
| - run: yarn publish:all --provenance |
Contributor
Author
There was a problem hiding this comment.
Reintroduced --provenance to get back the checkmark on NPM:
duncanista
approved these changes
Jan 15, 2026
1 task
joepeeples
approved these changes
Jan 15, 2026
ce170b7 to
aefdd28
Compare
Contributor
Author
|
Failing as expected:
I'm now going to base this PR off of #2056. |
…n.girard/SYNTH-23939/init-plugin
ava-silver
approved these changes
Jan 16, 2026
Contributor
ava-silver
left a comment
There was a problem hiding this comment.
one nit, but overall lgtm!
Base automatically changed from
corentin.girard/SYNTH-21709/migrate-junit
to
master
January 19, 2026 10:34
Drarig29
commented
Jan 19, 2026
Comment on lines
+25
to
+29
| - name: Check NPM packages | ||
| run: yarn check-npm-packages | ||
| env: | ||
| # Used to post comments on the PR | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
bin/init-package.sh script
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What and why?
This PR adds a
yarn check-npm-packages --fixscript to publish an initial version for every new package, so that we can enable OIDC on NPM side for their next releases.How?
yarn check-npm-packageswithout the--fixargument[Outdated but still relevant] I tested this PR with our future
@datadog/datadog-ci-plugin-junitpackage:v0.0.1with thebin/init-package.shscriptv0.0.2with a CI jobv0.0.3✅ with another CI job, to bring back--provenanceReview checklist