Files
cheatsheet-tldr/tldr/npm-install-ci-test
2025-12-20 00:20:53 +00:00

19 lines
525 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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`.
> More information: <https://docs.npmjs.com/cli/install-ci-test/>.
- Install dependencies and run tests:
`npm {{[cit|install-ci-test]}}`
- Display detailed logs during installation and testing:
`npm {{[cit|install-ci-test]}} --verbose`