mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 17:46:33 +00:00
19 lines
525 B
Plaintext
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`
|