mirror of
https://github.com/actions/setup-node.git
synced 2026-06-14 14:13:52 +08:00
Merge ead69d56d0 into d02c89dce7
This commit is contained in:
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
@@ -82445,7 +82445,7 @@ function getNodeVersionFromFile(versionFilePath) {
|
||||
}
|
||||
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']) : '';
|
||||
return { tool, output };
|
||||
|
||||
Reference in New Issue
Block a user