11
0
Fork 0
mirror of https://github.com/actions/setup-node.git synced 2026-05-23 21:01:54 +00:00
This commit is contained in:
Marina Skripnik 2026-04-22 23:03:51 -04:00 committed by GitHub
commit 83e9aa65ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 7 deletions

2
dist/setup/index.js vendored
View file

@ -80283,7 +80283,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 };