mirror of
				https://github.com/pnpm/action-setup.git
				synced 2025-11-04 05:19:08 +08:00 
			
		
		
		
	fix: add PNPM_HOME env variable
This commit is contained in:
		@@ -28,7 +28,9 @@ export async function runSelfInstaller(inputs: Inputs): Promise<number> {
 | 
			
		||||
    cp.on('close', resolve)
 | 
			
		||||
  })
 | 
			
		||||
  if (result === 0) {
 | 
			
		||||
    core.addPath(join(dest, 'node_modules/.bin'))
 | 
			
		||||
    const pnpmHome = join(dest, 'node_modules/.bin')
 | 
			
		||||
    core.addPath(pnpmHome)
 | 
			
		||||
    core.exportVariable('PNPM_HOME', pnpmHome)
 | 
			
		||||
  }
 | 
			
		||||
  return result
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user