mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user