pnpm / action-setup

Install pnpm package manager
https://github.com/marketplace/actions/setup-pnpm
MIT License
936 stars 89 forks source link

error when installing 6.0.1 #12

Closed rhyek closed 3 years ago

rhyek commented 3 years ago

Is this meant to work with that version? Currently getting:

Run pnpm/action-setup@v1.2.1
  with:
    version: 6.0.1
    dest: ~/setup-pnpm
    bin_dest: ~/setup-pnpm/.bin
    registry: https://registry.npmjs.com
    run_install: null
  env:
    PACKAGES_PATH_PREFIX: orgs/lgg
    SERVICES_HOST: localhost
    DOCKER_TOKEN: ***
Running self-installer...
  Downloading https://registry.npmjs.org/pnpm/-/pnpm-6.0.1.tgz
  [Error: ENOENT: no such file or directory, stat '/home/runner/setup-pnpm/bin/pnpm.js'] {
    errno: -2,
    code: 'ENOENT',
    syscall: 'stat',
    path: '/home/runner/setup-pnpm/bin/pnpm.js'
  }
Error: Something does wrong, self-installer exits with code 1
Installation Completed!
KSXGitHub commented 3 years ago

Try pnpm/action-setup@v2.0.0

rhyek commented 3 years ago

Yes, that worked perfectly. Thank you.

KSXGitHub commented 3 years ago

You should use dependabot, dependabot-preview, or renovate to keep your github actions up-to-date.