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

Allow Configuration of Self-installer Settings #141

Open
ChrisPage-AT opened this issue Aug 12, 2024 · 0 comments
Open

Allow Configuration of Self-installer Settings #141

ChrisPage-AT opened this issue Aug 12, 2024 · 0 comments

Comments

@ChrisPage-AT
Copy link

I am running into an issue where I need to pass some settings to the self-installer. Specifically, I am trying to pass --fetch-retries 5 since I am running into 429 (Too Many Requests) errors. I see on the documentation that there's a way to pass args in for the run_install function, so hopefully it won't be too difficult to add them for the self-installer bit.

Here's my code (yes, I'm using v4 of the action):

- uses: pnpm/action-setup@v4
        name: Install pnpm
        with:
          version: 9.7.0

Here's my current log output:

Run pnpm/action-setup@v4
  with:
    version: 9.7.0
    dest: ~/setup-pnpm
    run_install: null
    package_json_file: package.json
    standalone: false
  env:
    ...

Running self-installer...
   WARN  GET https://[AWS CodeArtifact Url] error (429). Will retry in 10 seconds. 2 retries left.
   WARN  GET https://[AWS CodeArtifact Url] error (429). Will retry in 1 minute. 1 retries left.
   ERR_PNPM_FETCH_429  GET https://[AWS CodeArtifact Url]: Too Many Requests - 429
  
  This error happened while installing a direct dependency of /home/runner/setup-pnpm
Error: Something went wrong, self-installer exits with code 1
Installation Completed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant