mirror of
https://github.com/actions/setup-node.git
synced 2026-05-23 21:01:54 +00:00
Merge ead69d56d0 into 670825a89d
This commit is contained in:
commit
83e9aa65ce
4 changed files with 8 additions and 7 deletions
2
dist/setup/index.js
vendored
2
dist/setup/index.js
vendored
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue