mirror of
https://github.com/actions/setup-node.git
synced 2025-12-25 01:37:07 +00:00
Print pnpm in env details output
This commit is contained in:
parent
dda4788290
commit
fc2e41dd00
4 changed files with 8 additions and 7 deletions
|
|
@ -62,7 +62,7 @@ export function getNodeVersionFromFile(versionFilePath: string): string | null {
|
|||
|
||||
export async function printEnvDetailsAndSetOutput() {
|
||||
core.startGroup('Environment details');
|
||||
const promises = ['node', 'npm', 'yarn'].map(async tool => {
|
||||
const promises = ['node', 'npm', 'yarn', 'pnpm'].map(async tool => {
|
||||
const pathTool = await io.which(tool, false);
|
||||
const output = pathTool ? await getToolVersion(tool, ['--version']) : '';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue