Skip to content

Commit 9a567ec

Browse files
iliapologithub-actions
andauthored
chore: npm trusted publishing for jsii packages is ignored (#843)
For jsii packages, the NPM publishing takes a different code path. --- By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license --------- Signed-off-by: github-actions <github-actions@github.com> Co-authored-by: github-actions <github-actions@github.com>
1 parent abadf13 commit 9a567ec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projenrc/jsii.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ export class JsiiBuild extends pj.Component {
270270
registry: tsProject.package.npmRegistry,
271271
npmTokenSecret: tsProject.package.npmTokenSecret,
272272
npmProvenance: tsProject.package.npmProvenance,
273+
trustedPublishing: true,
273274
// No support for CodeArtifact here
274275
// codeArtifactOptions: tsProject.codeArtifactOptions,
275276
};

0 commit comments

Comments
 (0)