Skip to content

Commit a2aa38f

Browse files
committed
feat(trusted-publishing): highlight in the error that a token is only required when not using OIDC
for #958
1 parent 00ab5fc commit a2aa38f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/definitions/errors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Your configuration for the \`pkgRoot\` option is \`${pkgRoot}\`.`,
3737
export function ENONPMTOKEN({ registry }) {
3838
return {
3939
message: "No npm token specified.",
40-
details: `An [npm token](${linkify(
40+
details: `When not publishing through [trusted publishing](https://docs.npmjs.com/trusted-publishers) an [npm token](${linkify(
4141
"README.md#npm-registry-authentication"
4242
)}) must be created and set in the \`NPM_TOKEN\` environment variable on your CI environment.
4343

0 commit comments

Comments
 (0)