ArtiomTr / jest-coverage-report-action

Track your code coverage in every pull request.
https://www.covbot.dev
MIT License
499 stars 143 forks source link

using npm ci instead of npm install #433

Open markrity opened 3 weeks ago

markrity commented 3 weeks ago

Idea

Right now install dependencies does npm install (or other package with install). It would be useful to have npm ci since its a better practice IMHO.

Description

https://www.dhiwise.com/post/making-the-right-choice-npm-ci-vs-npm-install

Alternatives

Can implement it as additional flag

Additional context

I can implement it , I can also implement it for each package with the best practice for each package

rsorelli-hedgepoint commented 3 weeks ago

It would be great to add a parameter to add flags to the install step of the actions. For example "--legacy-peer-deps"