mirror of
https://github.com/pnpm/action-setup.git
synced 2024-12-23 16:36:30 +08:00
fix: add PNPM_HOME env variable
This commit is contained in:
parent
eb99e9e4c7
commit
43a416008e
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user