mirror of
https://github.com/pnpm/action-setup.git
synced 2025-01-25 15:39:11 +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)
|
cp.on('close', resolve)
|
||||||
})
|
})
|
||||||
if (result === 0) {
|
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
|
return result
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user