Skip to content

Unknown cli config "--git-checks". This will stop working in the next major version of npm. #9646

Description

@pcaversaccio

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

10.12.1

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

https://github.com/pcaversaccio/xdeployer/blob/7937f1449a9f77746a16ab4ce97b0249a5234427/.github/workflows/publish-npm.yml#L54-L58

Reproduction steps

See here the release CI run:

Run pnpm publish --no-git-checks

> [email protected] prepublishOnly /home/runner/work/xdeployer/xdeployer
> pnpm build


> [email protected] build /home/runner/work/xdeployer/xdeployer
> tsc

npm warn Unknown cli config "--git-checks". This will stop working in the next major version of npm.
npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.

Describe the Bug

npm warn Unknown cli config "--git-checks". This will stop working in the next major version of npm.
npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.

I don't understand how to get rid of those warnings in pnpm?

Expected Behavior

No warnings.

Which Node.js version are you using?

v24.2.0

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

Ubuntu

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions