moon: [bug] pnpm command not found in Github Actions
Describe the bug
pnpm: command not found
Steps to reproduce Setup node & pnpm toolchain
Create a Github Actions workflow job:
permissions:
contents: write
pull-requests: write
checks: write
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: moonrepo/setup-moon-action@v1
- run: moon setup
- run: pnpm -v
Expected behavior
For pnpm
to work in CI.
About this issue
- Original URL
- State: closed
- Created 9 months ago
- Comments: 28
This is just vehemently not true. The “single” package.json approach is purely an Nx, and indirectly, a Bazel thing.
Regardless, this issue isn’t about that, so let’s stay on topic.