mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
refactor: use is-ci instead of env.ci
This commit is contained in:
parent
eda1f1d1c2
commit
f4a34c5664
@ -6,6 +6,7 @@ const { cpus } = require('os')
|
||||
|
||||
const spawnAsync = require('@expo/spawn-async')
|
||||
const Listr = require('listr')
|
||||
const isCI = require('is-ci')
|
||||
|
||||
const fixtures = [
|
||||
'children',
|
||||
@ -49,7 +50,7 @@ for (let fixture of fixtures) {
|
||||
}
|
||||
|
||||
const options = {
|
||||
renderer: process.env.CI ? 'silent' : 'default',
|
||||
renderer: isCI ? 'silent' : 'default',
|
||||
nonTTYRenderer: 'silent',
|
||||
concurrent: Math.min(4, cpus().length)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user