test(integration): updated the simulated environment to omit the GITHUB_ACTIONS variable from the test env
				
					
				
			This commit is contained in:
		
							parent
							
								
									d13ea9280e
								
							
						
					
					
						commit
						f32fd5889a
					
				| @ -30,7 +30,7 @@ const { readJson, writeJson } = fsExtra; | |||||||
| /* eslint camelcase: ["error", {properties: "never"}] */ | /* eslint camelcase: ["error", {properties: "never"}] */ | ||||||
| 
 | 
 | ||||||
| // Environment variables used with semantic-release cli (similar to what a user would setup)
 | // Environment variables used with semantic-release cli (similar to what a user would setup)
 | ||||||
| const { GITHUB_ACTION, GITHUB_TOKEN, ...processEnvWithoutGitHubActionsVariables } = process.env; | const { GITHUB_ACTIONS, GITHUB_TOKEN, ...processEnvWithoutGitHubActionsVariables } = process.env; | ||||||
| const env = { | const env = { | ||||||
|   ...processEnvWithoutGitHubActionsVariables, |   ...processEnvWithoutGitHubActionsVariables, | ||||||
|   ...npmRegistry.authEnv, |   ...npmRegistry.authEnv, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user