mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
debug npm upgrade fail
This commit is contained in:
@@ -7,6 +7,9 @@ const path = require('path');
|
||||
const CONFIG = require('../config');
|
||||
|
||||
module.exports = function(ci) {
|
||||
console.log('------')
|
||||
console.log(ci)
|
||||
console.log('------')
|
||||
verifyNode();
|
||||
verifyNpm(ci);
|
||||
if (process.platform === 'win32') {
|
||||
|
||||
@@ -18,8 +18,12 @@ jobs:
|
||||
displayName: Install Node.js 12.14.0
|
||||
|
||||
- script: |
|
||||
rm -r /usr/local/lib/node_modules/npm
|
||||
/usr/bin/npm uninstall npm
|
||||
npm -v
|
||||
node -v
|
||||
which npm
|
||||
which node
|
||||
grep \"version\" ~/.npm-packages/lib/node_modules/npm/package.json
|
||||
grep \"version\" /usr/local/lib/node_modules/npm/package.json
|
||||
npm install --global npm@6.13.4
|
||||
|
||||
displayName: Update npm
|
||||
|
||||
Reference in New Issue
Block a user