Skip to content

Commit c84d5d3

Browse files
authored
Merge pull request #2904 from semantic-release/gitlab-provenance
2 parents c21a1ac + e40eecd commit c84d5d3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/recipes/ci-configurations/gitlab-ci.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The [Authentication](../../usage/ci-configuration.md#authentication) environment
66

77
**Note**: Make sure to configure your release branch as [protected](https://docs.gitlab.com/ce/user/project/protected_branches.html) in order for the CI/CD build to access the protected variables.
88

9+
## npm provenance
10+
11+
Since GitLab CI is a [supported provider](https://docs.npmjs.com/generating-provenance-statements#provenance-limitations) for [npm provenance](https://docs.npmjs.com/generating-provenance-statements), it is recommended to enable this to increase supply-chain security for your npm packages.
12+
Find more detail about configuring npm to publish with provenance through semantic-release [in the documentation for our npm plugin](https://github.com/semantic-release/npm#npm-provenance).
13+
914
## Node project configuration
1015

1116
GitLab CI supports [Pipelines](https://docs.gitlab.com/ee/ci/pipelines.html) allowing to test on multiple Node versions and publishing a release only when all test pass.

0 commit comments

Comments
 (0)