Skip to content

Commit c339b46

Browse files
authored
add files
1 parent dd3fada commit c339b46

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

content/packages-and-modules/securing-your-code/trusted-publishers.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Self-hosted runners are not currently supported but are planned for future relea
3131

3232
Navigate to your package settings on [npmjs.com](https://www.npmjs.com) and find the "__Trusted Publisher__" section. Under "__Select your publisher__", choose your CI/CD provider by clicking either the GitHub Actions or GitLab CI/CD button.
3333

34-
<!-- TODO: Add screenshot of the Trusted Publisher section with "Select your publisher" label and provider buttons -->
34+
<Screenshot src="/packages-and-modules/securing-your-code/trusted-publisher.png" alt="Screenshot showing the Trusted Publisher section with Select your publisher label and provider buttons" />
3535

3636
#### For GitHub Actions
3737

@@ -45,7 +45,7 @@ Configure the following fields:
4545
- The workflow file must exist in `.github/workflows/` in your repository
4646
- **Environment name** (optional): If using [GitHub environments](https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment) for deployment protection
4747

48-
<!-- TODO: Add screenshot of GitHub Actions trusted publisher configuration form -->
48+
<Screenshot src="/packages-and-modules/securing-your-code/trusted-publisher-github-actions.png" alt="Screenshot of GitHub Actions trusted publisher configuration form" />
4949

5050
#### For GitLab CI/CD
5151

@@ -57,7 +57,7 @@ Configure the following fields:
5757
- Must include the `.yml` extension
5858
- **Environment name** (optional): If using [GitLab environments](https://docs.gitlab.com/ee/ci/environments/)
5959

60-
<!-- TODO: Add screenshot of GitLab CI/CD trusted publisher configuration form -->
60+
<Screenshot src="/packages-and-modules/securing-your-code/trusted-publisher-gitlab.png" alt="Screenshot of GitLab CI/CD trusted publisher configuration form" />
6161

6262
<Note>
6363

@@ -152,7 +152,7 @@ You can modify or remove your trusted publisher configuration at any time throug
152152

153153
When you publish using trusted publishing, npm automatically generates and publishes [provenance attestations](./generating-provenance-statements) for your package. This happens by default—you don't need to add the `--provenance` flag to your publish command.
154154

155-
<!-- TODO: Add screenshot showing provenance badge/information on a package page -->
155+
<Screenshot src="/packages-and-modules/securing-your-code/trusted-publisher-provenance.png" alt="Screenshot showing provenance badge/information on a package page" />
156156

157157
Provenance provides cryptographic proof of where and how your package was built, allowing users to verify its authenticity. This automatic generation only applies when all of these conditions are met:
158158

149 KB
Loading
155 KB
Loading
57.2 KB
Loading
59.7 KB
Loading

0 commit comments

Comments
 (0)