GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Document which version of npm is used · Issue #438 · actions/setup-node

Document which version of npm is used #438

New issue
Copy link
New issue
Copy link
Closed
Closed
Document which version of npm is used#438
Copy link
Assignees
dmitry-shibanov
Labels
feature requestNew feature or request to improve the current logic

Description

@davideicardi
davideicardi
opened on Mar 9, 2022
Issue body actions

Also in relation to various other issues related to the version of npm (like #247 , #213 , ...) I think it should be useful to add a documentation section with the npm version used (I suppose that depends on the node_version?).

I can try to submit a PR but not sure how to retrieve these information...

Activity

  1. davideicardi
    added
    feature requestNew feature or request to improve the current logic
    needs triage
    on Mar 9, 2022
  2. zauni commented on Mar 21, 2022

    @zauni
    zauni
    on Mar 21, 2022
    More actions

    In the Node.js website is a list of all Node.js versions and their bundled npm version: https://nodejs.org/en/download/releases/ Unfortunately it is not the most usable list of alle times :)

    So as an overall schema Node.js 16.x has npm version 8.x bundled and in Node.js 14.x you get npm version 6.x.

  3. davideicardi commented on Mar 21, 2022

    @davideicardi
    davideicardi
    on Mar 21, 2022
    Author
    More actions

    I'm aware of that list, but from my understanding it is not the one used by setup-node action. For example, from what I can see when configuring Node.js 14 I get NPM 8.x.

  4. zauni commented on Mar 21, 2022

    @zauni
    zauni
    on Mar 21, 2022
    More actions

    Okay, that is strange... Are you using the bare Ubuntu Linux in your action or something else?

    And also from that comment of one of the maintainers I think that they are not installing any npm versions, just using the bundled one, so it should be npm 6.x if you configure Node.js 14 in the action: #213 (comment)

  5. dmitry-shibanov commented on Mar 28, 2022

    @dmitry-shibanov
    dmitry-shibanov
    on Mar 28, 2022
    Contributor
    More actions

    Hello @davideicardi. Thank you for your report. As I know the action does not update npm version of the Nodejs. Besides, versions from node-versions repository do not update npm version either. Do you use hosted or self-hosted runners ? Could you please provide public repository to reproduce such behaviour.

    I'm not sure if the documentation needs to be updated because this information is available at https://nodejs.org/en/download/releases/ or https://nodejs.org/dist/index.json.

  6. marko-zivic-93
    removed
    needs triage
    on Mar 28, 2022
  7. marko-zivic-93
    assigned
    marko-zivic-93
    and
    dmitry-shibanov
    and unassigned
    marko-zivic-93
    on Mar 28, 2022
  8. davideicardi commented on Mar 28, 2022

    @davideicardi
    davideicardi
    on Mar 28, 2022
    Author
    More actions

    @dmitry-shibanov @zauni I have tried again today to retrieve the corresponding npm version for each node version and now it seems to follow the https://nodejs.org/en/download/releases/ matrix. I'm sorry, maybe I had some problem on my workflow. My fault. Thank you for your time.

    I will close the issue.

  9. davideicardi
    closed this as completedon Mar 28, 2022
  10. deining
    added a commit that references this issue on Nov 9, 2023

    chore(deps): bump @actions/core from 1.9.1 to 1.10.0 (actions#438)

    6e9dd5d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dmitry-shibanov
    dmitry-shibanov

Labels

feature requestNew feature or request to improve the current logic

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.