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 — Support volta.extends in node-version-file · Issue #920 · actions/setup-node

Support volta.extends in node-version-file #920

New issue
Copy link
New issue
Copy link
Closed
Closed
Support volta.extends in node-version-file#920
Copy link
Assignees
v-aparnajyothi-y
Labels
feature requestNew feature or request to improve the current logic

Description

@ThisIsManta
ThisIsManta
opened on Dec 15, 2023
Issue body actions

Description:

Given the repository containing the below files

// package.json
{ "volta": { "node": "20.0.0" } }

and

// e2e/package.json
{ "volta": { "extends": "../package.json" } }

When the action is called with...

      - uses: actions/setup-node@v4
        with:
          node-version-file: e2e/package.json

Then it should result in Node.js v20.0.0 because this is how Volta works: https://docs.volta.sh/advanced/workspaces

But instead, I got the below error:
image

Justification:
If setup-node action claim to support Volta, then this extends field should be read and resolve into a concrete value of Node.js version as well.

Are you willing to submit a PR?
Yes, here you are: #921

Activity

  1. ThisIsManta
    added
    feature requestNew feature or request to improve the current logic
    needs triage
    on Dec 15, 2023
  2. v-aparnajyothi-y commented on Dec 15, 2023

    @v-aparnajyothi-y
    v-aparnajyothi-y
    on Dec 15, 2023
    Contributor
    More actions

    Hello @ThisIsManta. Thank for a feature request. We will investigate it and share our results.

  3. v-aparnajyothi-y
    removed
    needs triage
    on Dec 15, 2023
  4. v-aparnajyothi-y
    self-assigned this
    on Dec 27, 2023
  5. ThisIsManta commented on Dec 29, 2023

    @ThisIsManta
    ThisIsManta
    on Dec 29, 2023
    ContributorAuthor
    More actions

    The PR has been merged. 🎉

  6. ThisIsManta
    closed this as completedon Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @v-aparnajyothi-y
    v-aparnajyothi-y

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.