mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2026-03-21 06:55:55 +03:00
Merge ead69d56d0 into 53b83947a5
This commit is contained in:
commit
7284c8cb5a
4 changed files with 8 additions and 7 deletions
2
dist/cache-save/index.js
vendored
2
dist/cache-save/index.js
vendored
|
|
@ -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
2
dist/setup/index.js
vendored
|
|
@ -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 };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue