back to electron 6

This commit is contained in:
Mazen El-Kashef
2020-05-20 00:54:26 -05:00
parent 9dcac63419
commit a8047f889b
8 changed files with 22 additions and 22 deletions

View File

@@ -12,7 +12,7 @@
"url": "https://github.com/atom/atom/issues"
},
"license": "MIT",
"electronVersion": "7.3.0",
"electronVersion": "6.1.12",
"dependencies": {
"@atom/nsfw": "1.0.26",
"@atom/source-map-support": "^0.3.4",

View File

@@ -10,9 +10,9 @@
"coffeelint": "1.15.7",
"colors": "1.1.2",
"donna": "1.0.16",
"electron-chromedriver": "^7.0.0",
"electron-chromedriver": "^6.0.0",
"electron-link": "^0.4.2",
"electron-mksnapshot": "^7.0.0",
"electron-mksnapshot": "^6.0.0",
"electron-packager": "^14.2.1",
"@atom/electron-winstaller": "0.0.1",
"eslint": "^5.16.0",

View File

@@ -32,8 +32,8 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: 12.8.1
displayName: Install Node.js 12.8.1
versionSpec: 12.4.0
displayName: Install Node.js 12.4.0
#This has to be done separately because VSTS inexplicably
#exits the script block after `npm install` completes.

View File

@@ -24,10 +24,10 @@ jobs:
- task: NodeTool@0
inputs:
versionSpec: 12.8.1
displayName: Install Node.js 12.8.1
versionSpec: 12.4.0
displayName: Install Node.js 12.4.0
- script: npm install --global npm@6.10.2
- script: npm install --global npm@6.9.0
displayName: Update npm
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1

View File

@@ -14,8 +14,8 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: 12.8.1
displayName: Install Node.js 12.8.1
versionSpec: 12.4.0
displayName: Install Node.js 12.4.0
#- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
# displayName: Restore node_modules cache
@@ -29,7 +29,7 @@ jobs:
env:
CI: true
CI_PROVIDER: VSTS
NPM_BIN_PATH: /Users/runner/hostedtoolcache/node/12.8.1/x64/bin/npm
NPM_BIN_PATH: /Users/runner/hostedtoolcache/node/12.4.0/x64/bin/npm
npm_config_build_from_source: true
condition: ne(variables['CacheRestored'], 'true')
@@ -112,8 +112,8 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: 12.8.1
displayName: Install Node.js 12.8.1
versionSpec: 12.4.0
displayName: Install Node.js 12.4.0
- task: 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
displayName: Restore node_modules cache
@@ -129,7 +129,7 @@ jobs:
env:
CI: true
CI_PROVIDER: VSTS
NPM_BIN_PATH: /Users/runner/hostedtoolcache/node/12.8.1/x64/bin/npm
NPM_BIN_PATH: /Users/runner/hostedtoolcache/node/12.4.0/x64/bin/npm
npm_config_build_from_source: true
condition: ne(variables['CacheRestored'], 'true')

View File

@@ -26,8 +26,8 @@ jobs:
- task: NodeTool@0
inputs:
versionSpec: 12.8.1
displayName: Install Node.js 12.8.1
versionSpec: 12.4.0
displayName: Install Node.js 12.4.0
- script: |
ECHO Installing npm-windows-upgrade
@@ -36,8 +36,8 @@ jobs:
- script: |
ECHO Upgrading npm
npm-windows-upgrade --no-spinner --no-prompt --npm-version 6.10.2
displayName: Install npm 6.10.2
npm-windows-upgrade --no-spinner --no-prompt --npm-version 6.9.0
displayName: Install npm 6.9.0
- script: |
npm install --global --production windows-build-tools@4.0
@@ -70,7 +70,7 @@ jobs:
BUILD_ARCH: $(buildArch)
CI: true
CI_PROVIDER: VSTS
NPM_BIN_PATH: "C:\\hostedtoolcache\\windows\\node\\12.8.1\\x64\\npm.cmd"
NPM_BIN_PATH: "C:\\hostedtoolcache\\windows\\node\\12.4.0\\x64\\npm.cmd"
npm_config_build_from_source: true
displayName: Bootstrap build environment
condition: ne(variables['CacheRestored'], 'true')

View File

@@ -38,8 +38,8 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: 12.8.1
displayName: Install Node.js 12.8.1
versionSpec: 12.4.0
displayName: Install Node.js 12.4.0
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm install` completes.

View File

@@ -5,7 +5,7 @@ const path = require('path');
const download = require('download');
const childProcess = require('child_process');
const nodeVersion = '12.8.1';
const nodeVersion = '12.4.0';
const nodeFileName = `node-v${nodeVersion}-win-x86`;
const extractedNodePath = `c:\\tmp\\${nodeFileName}`;