2025-12-16 10:20:31 -07:00
|
|
|
# npm install-ci-test
|
|
|
|
|
|
|
|
|
|
> Install project dependencies and run tests in a single command, mainly used in continuous integration (CI) environments.
|
|
|
|
|
> Equivalent to running `npm ci && npm test`.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://docs.npmjs.com/cli/install-ci-test/>.
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Install dependencies and run tests:
|
|
|
|
|
|
|
|
|
|
`npm {{[cit|install-ci-test]}}`
|
|
|
|
|
|
|
|
|
|
- Display detailed logs during installation and testing:
|
|
|
|
|
|
|
|
|
|
`npm {{[cit|install-ci-test]}} --verbose`
|