Closed TheJaredWilcurt closed 4 years ago
That's good to know. The CI stuff should pretty much be sorted now, but I dont see anything in the "checks" section of PRs to show that they passed or failed. But besides that, I think it's all good. What do you think?
You would need to set branch protections in the repo settings I think
npm i
is short fornpm install
which will check for versions like^1.3.0
and then see that there is a newer version and isntall1.3.1
and update thepackage-lock.json
. However, if there is a bug in1.3.1
that breaks something in your code/tests/lint/build/whatever, then your build may fail while your local works fine, which can be confusing. If you usenpm ci
then it will no check for newer versions of dependencies or update thepackage-lock.json
. Instead it will look at thepackage-lock.json
as the source of truth and download those exact version numbers. So ideally the automatedci
will match exactly what you have installed locally.