build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm (#18607)
* build: unify YARN_VERSION variable usage and ensure CI uses yarn not npm * chore: use a JS helper so that it can work on windows * chore: make script/yarn without node_modules installed
This commit is contained in:
parent
0fc172fcaf
commit
a45afddb75
6 changed files with 35 additions and 18 deletions
|
@ -1,11 +1,9 @@
|
|||
// KEEP IN SYNC WITH DEPS FILE
|
||||
const YARN_VERSION = '1.15.2'
|
||||
const { GitProcess } = require('dugite')
|
||||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
||||
const OUT_DIR = process.env.ELECTRON_OUT_DIR || 'Debug'
|
||||
|
||||
const { GitProcess } = require('dugite')
|
||||
const path = require('path')
|
||||
|
||||
require('colors')
|
||||
const pass = '\u2713'.green
|
||||
const fail = '\u2717'.red
|
||||
|
@ -45,6 +43,5 @@ module.exports = {
|
|||
getCurrentBranch,
|
||||
getElectronExec,
|
||||
getAbsoluteElectronExec,
|
||||
OUT_DIR,
|
||||
YARN_VERSION
|
||||
OUT_DIR
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue