Browse Source

Use Node 12 and frozen lockfile

Peter Squicciarini 5 years ago
parent
commit
a3465c0f1b
3 changed files with 3 additions and 3 deletions
  1. 1 1
      .travis.yml
  2. 1 1
      build.sh
  3. 1 1
      win32-build.yml

+ 1 - 1
.travis.yml

@@ -15,7 +15,7 @@ matrix:
     - os: osx
     - os: osx
 
 
 language: node_js
 language: node_js
-node_js: "10"
+node_js: "12"
 
 
 before_install:
 before_install:
   - curl -o- -L https://yarnpkg.com/install.sh | bash
   - curl -o- -L https://yarnpkg.com/install.sh | bash

+ 1 - 1
build.sh

@@ -29,7 +29,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
   # apply patches
   # apply patches
   patch -u src/vs/platform/update/electron-main/updateService.win32.ts -i ../patches/update-cache-path.patch
   patch -u src/vs/platform/update/electron-main/updateService.win32.ts -i ../patches/update-cache-path.patch
 
 
-  yarn
+  yarn --frozen-lockfile
   yarn postinstall
   yarn postinstall
   mv product.json product.json.bak
   mv product.json product.json.bak
 
 

+ 1 - 1
win32-build.yml

@@ -1,7 +1,7 @@
 steps:
 steps:
 - task: NodeTool@0 
 - task: NodeTool@0 
   inputs:
   inputs:
-    versionSpec: '10.x'
+    versionSpec: "12.13.0"
 - script: |
 - script: |
     choco install jq 
     choco install jq 
   displayName: 'install jq from choco'
   displayName: 'install jq from choco'