File tree 3 files changed +0
-7
lines changed
3 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,6 @@ export async function createProjectFromAsset(
48
48
process . chdir ( dir ) ;
49
49
if ( ! useNpmPackages ) {
50
50
await useBuiltPackages ( ) ;
51
- if ( ! getGlobalVariable ( 'ci' ) ) {
52
- const testRegistry = getGlobalVariable ( 'package-registry' ) ;
53
- await writeFile ( '.npmrc' , `registry=${ testRegistry } ` ) ;
54
- }
55
51
}
56
52
57
53
if ( ! skipInstall ) {
Original file line number Diff line number Diff line change @@ -49,8 +49,6 @@ export async function setRegistry(useTestRegistry: boolean): Promise<void> {
49
49
? getGlobalVariable ( 'package-registry' )
50
50
: 'https://registry.npmjs.org' ;
51
51
52
- const isCI = getGlobalVariable ( 'ci' ) ;
53
-
54
52
// Ensure local test registry is used when outside a project
55
53
// Yarn supports both `NPM_CONFIG_REGISTRY` and `YARN_REGISTRY`.
56
54
process . env [ 'NPM_CONFIG_REGISTRY' ] = url ;
Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ if (testsToRun.length == allTests.length) {
149
149
console . log ( [ 'Tests:' , ...testsToRun ] . join ( '\n ' ) ) ;
150
150
151
151
setGlobalVariable ( 'argv' , argv ) ;
152
- setGlobalVariable ( 'ci' , process . env [ 'CI' ] ?. toLowerCase ( ) === 'true' || process . env [ 'CI' ] === '1' ) ;
153
152
setGlobalVariable ( 'package-manager' , argv . yarn ? 'yarn' : 'npm' ) ;
154
153
155
154
Promise . all ( [ findFreePort ( ) , findFreePort ( ) ] )
You can’t perform that action at this time.
0 commit comments