pnpm / pnpm/action-setup

Confusing error messages when user doesn't specify `version`

Open
#54 4 comments 0 reactions 1 assignee View on GitHub

@zkochan is already working on this.

Since Sep 15, 2022.

Dominant language
TypeScript
Stars
1.3k
Forks
217
Avg merge
8h 42m
Merged PRs (30d)
1

Description

It seems this action requires a package.json file to be present:

https://github.com/pnpm/action-setup/blob/6e1964dde3397a825e79e4607ad57f3f7ca2c7cb/src/install-pnpm/run.ts#L13-L14

Even if users only use pnpx and do not install packages locally, they have to provide a package.json, which is inconvenient.

Will the action support using it without a package.json?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.