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

chore(ci): add node 12 #872

Merged
merged 14 commits into from May 22, 2019
2 changes: 1 addition & 1 deletion azure-pipelines-template.yml
Expand Up @@ -24,7 +24,7 @@ jobs:
npm -v
displayName: "Print version"
- script: |
npm ci
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm ci is probably better, runs fresh install with lockfile

Copy link
Contributor Author

@misterdev misterdev May 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true, I'm just investigating on what broke the Azure CI :)

Copy link
Contributor Author

@misterdev misterdev May 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems that using npm ci instead of npm install breaks on "macOS node-6"
It fails with sh: rimraf: command not found while executing npm run bootstrap

I'm keeping the old npm install. Any idea on how to fix this is welcome :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better always update npm to latest before use npm commands, npm is very buggy

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, on Mac OS it doesn't update npm to the latest version.
But the fix suggested here doesn't work on Linux

I'm going to investigate in the next days :)

npm install
npm run bootstrap
displayName: "Lerna bootstrap"
- script: |
Expand Down