Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error 'manifest.filter is not a funcion' when using node-version with "lts/*" #1162

Open
2 of 5 tasks
giulianisanches opened this issue Nov 21, 2024 · 0 comments
Open
2 of 5 tasks
Labels
bug Something isn't working needs triage

Comments

@giulianisanches
Copy link

Description:
I'm trying to install the latest LTS version using the syntax "lts/*" and getting the error manifest.filter is not a function. Using a different syntax, like 22.x works.

      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: "lts/*"
          check-latest: true

Action version:
actions/setup-node@v4

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

Tools version:
Default ones installed with ubuntu 20.04

Repro steps:
I just have an action like below, and it fails when I push to the wip branch:

name: Build

on:
  push:
    branches:
      - wip

jobs:
  build:
    environment: shared
    runs-on: [self-hosted]
    steps:
      - name: Setup Node.js
        uses: actions/setup-node@v4
        with:
          node-version: "lts/*"
          check-latest: true

Expected behavior:
I expect it to install the latest LTS version

Actual behavior:
build fails with the message manifest.filter is not a function

@giulianisanches giulianisanches added bug Something isn't working needs triage labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

No branches or pull requests

1 participant