-
-
Notifications
You must be signed in to change notification settings - Fork 412
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
ci(appveyor): Use npm 4, npm 5 not usable on windows #286
Conversation
I didn't realise that caching was still enabled. Should we just disable the cache and not switch to npm 4? |
Codecov Report
@@ Coverage Diff @@
## master #286 +/- ##
=======================================
Coverage 91.66% 91.66%
=======================================
Files 10 10
Lines 168 168
Branches 25 25
=======================================
Hits 154 154
Misses 13 13
Partials 1 1 Continue to review full report at Codecov.
|
Why don't we mimic what we have in our Travis config? I think by updating our appveyor config like this will only save us from some problems, but not our users problems.. We have to know I'd prefer using the default version of What do you think? |
I've updated all of my appveyor config, get rid of |
We have discussed this already right? Default npm won't work on node 4.2 which comes with If you still think it will be better to mimic travis config, could you please make a PR or just update this one? |
Sure, I'm gonna finish #283 (comment) first BTW, In windows, can I use this?
|
I think that's bash. So no. |
If |
Haven't used XO but I am not in favor of standard. I have seen some repositories which use it and IMHO it does not enforce some good practices. I personally like being able to configure it to our needs which is not how standard is meant to be used. |
XO comes with many good defaults. Easier to setup (less dotfiles, no peerDeps to be installed, etc.) https://github.com/sindresorhus/eslint-config-xo But yeah sometimes it feels slow especially its atom integration Or we can go with.. #287 (comment) |
@@ -12,7 +12,7 @@ environment: | |||
install: | |||
- ps: Install-Product node $env:nodejs_version | |||
- set CI=true | |||
- npm install --global npm@latest | |||
- npm install --global npm@4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you think it's important, I'm suggesting to just remove npm install --global npm
.
So appveyor will use the default version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or if you prefer using yarn here, just go with it.. But i think we're gonna lose our chance to catch npm bugs on Windows that may affect even more users than yarn
Closes #274