Skip to content

Commit

Permalink
Upgrade npm to get "ci"
Browse files Browse the repository at this point in the history
smashwilson committed Aug 8, 2018
1 parent 690b23c commit fd955a6
Showing 5 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ install:
- source /tmp/.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use --delete-prefix $NODE_VERSION
- npm install -g npm@6.1.0
- npm install --global npm@6.2.0
- script/build --ci --create-debian-package --create-rpm-package --compress-artifacts

script:
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -36,6 +36,7 @@ install:
- IF NOT EXIST %TEST_JUNIT_XML_ROOT% MKDIR %TEST_JUNIT_XML_ROOT%
- SET PATH=C:\Program Files\Atom\resources\cli;%PATH%
- ps: Install-Product node $env:NODE_VERSION $env:PLATFORM
- npm install --global npm@6.2.0

build_script:
- CD %APPVEYOR_BUILD_FOLDER%
3 changes: 3 additions & 0 deletions script/vsts/platforms/linux.yml
Original file line number Diff line number Diff line change
@@ -13,6 +13,9 @@ phases:
versionSpec: 8.9.3
displayName: Install Node.js 8.9.3

- script: npm install --global npm@6.2.0
displayName: Update npm

- script: |
apt-get update
apt-get install -y --no-install-recommends build-essential xvfb clang-3.5 fakeroot git libsecret-1-dev rpm libx11-dev libxkbfile-dev xz-utils xorriso zsync libxss1 libgconf2-4 libgtk-3-0
3 changes: 3 additions & 0 deletions script/vsts/platforms/macos.yml
Original file line number Diff line number Diff line change
@@ -15,6 +15,9 @@ phases:
versionSpec: 8.9.3
displayName: Install Node.js 8.9.3

- script: npm install --global npm@6.2.0
displayName: Update npm

- script: |
if [ $IS_RELEASE_BRANCH == "true" ] || [ $IS_SIGNED_ZIP_BRANCH == "true" ]; then
script/build --ci --code-sign --compress-artifacts
6 changes: 6 additions & 0 deletions script/vsts/platforms/windows.yml
Original file line number Diff line number Diff line change
@@ -22,6 +22,12 @@ phases:
versionSpec: 8.9.3
displayName: Install Node.js 8.9.3

- script: |
ECHO Installing npm-windows-upgrade
npm install --global --production npm-windows-upgrade
ECHO Upgrading npm
npm-windows-upgrade --no-spinner --no-prompt --npm-version 6.2.0
- script: |
IF NOT EXIST C:\tmp MKDIR C:\tmp
SET SQUIRREL_TEMP=C:\tmp

0 comments on commit fd955a6

Please sign in to comment.