Description
Feature request
Add npm install
and npm test
to the CircleCI build scripts.
What problem does this feature solve?
Currently, the website's front-page implicitly suggests that npm i -g vuepress
should work just as well as yarn global add vuepress
:
It would be awesome to get that same assertion of support in the CI builds so that y'all can ensure there are no possible npm CLI issues before they may be shipped.
The way Yarn and npm resolve dependencies is slightly differently – meaning of the yarn CLI could have a totally fine experience but npm CLI could have an absolutely horrible one. Additionally, Yarn makes no guarantees that dependency resolution will only change with semver major release which only exacerbates this concern as an npm CLI user.
How should this be implemented in your opinion?
Probably as a secondary CI build – i.e. not in the same container as Yarn builds – so you don't have cross-contamination between the two builds.
Are you willing to work on this yourself?
Would be happy to!