This commit is contained in:
Marina Skripnik 2026-03-02 15:38:27 -06:00 committed by GitHub
commit 7284c8cb5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 7 deletions

View file

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

2
dist/setup/index.js vendored
View file

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