Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tests documentation and scripts to use the "npm ci" command instead of "npm install" #20756

Closed
Ohrimenko1988 opened this issue Nov 10, 2021 · 1 comment
Labels
area/qe kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.

Comments

@Ohrimenko1988
Copy link
Contributor

Ohrimenko1988 commented Nov 10, 2021

Is your task related to a problem? Please describe

The npm ci command helps to reach reproducibility of environment it installs dependencies based on package-lock.json and dependencies always has particularly defined versions. Vise versa the npm install command can produce a different results and should be used only for installing new dependencies.

Describe the solution you'd like

Update tests documentation and scripts to use the "npm ci" command instead of "npm install"

Describe alternatives you've considered

No response

Additional context

https://dev.to/adamklein/package-lock-json-in-git-or-not-50l5

@Ohrimenko1988 Ohrimenko1988 added the kind/task Internal things, technical debt, and to-do tasks to be performed. label Nov 10, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Nov 10, 2021
@Ohrimenko1988 Ohrimenko1988 added area/qe team/che-qe and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Nov 10, 2021
@dmytro-ndp dmytro-ndp added the severity/P1 Has a major impact to usage or development of the system. label Nov 10, 2021
@dmytro-ndp
Copy link
Contributor

Duplicates #18773

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/qe kind/task Internal things, technical debt, and to-do tasks to be performed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

3 participants