#Problem with GitHub actions

5 messages · Page 1 of 1 (latest)

celest valve
#

I basically copied the nuxt/framework config for GitHub actions to build, lint, and typecheck my project, but all jobs fail with

ERR_PNPM_PREPARE_PKG_FAILURE  Command failed with exit code 1: npm install

See here:
https://github.com/toniengelhardt/m3tadata/actions/runs/3802847961/jobs/6468721641

The project uses pnpm and not npm, so I'm a bit confused why it wants to execute npm install at all.

What am I missing?

GitHub

Open-source web3 analytics based on Vue, Nuxt, and Ethers - Update and rename eslint.yml to ci.yml · toniengelhardt/m3tadata@4d0a397

untold atlas
#

Hopefully you've not directly copied without understanding how the nuxt/framework pipeline works - that is a big monorepo, but your YAML seems fine - errors like these can get frustrating.

Even though nuxt/framework doesn't use this format, I see pnpm docs to setup pnpm using pnpm/action-setup: https://pnpm.io/continuous-integration#github-actions (but if your CI still has pnpm running, it shouldn't be required)

What I did discover is this issue - https://github.com/pnpm/pnpm/issues/5845 (seems very recent)

#

Seems to be in v7.20.0!

celest valve
#

Thanks so much @untold atlas, it was indeed the pnpm version. I somehow didn't manage to find the issue you posted...