瀏覽代碼

Use Node 12 and frozen lockfile

Peter Squicciarini 5 年之前
父節點
當前提交
a3465c0f1b
共有 3 個文件被更改,包括 3 次插入3 次删除
  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
 
 language: node_js
-node_js: "10"
+node_js: "12"
 
 before_install:
   - curl -o- -L https://yarnpkg.com/install.sh | bash

+ 1 - 1
build.sh

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

+ 1 - 1
win32-build.yml

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