mirror of
https://github.com/actions/setup-node.git
synced 2026-06-08 13:33:47 +08:00
Merge ead69d56d0 into 774c1d6296
This commit is contained in:
2
dist/cache-save/index.js
vendored
2
dist/cache-save/index.js
vendored
@@ -71918,7 +71918,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
2
dist/setup/index.js
vendored
@@ -82456,7 +82456,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