UCLALibrary / ucla-library-website-components

This is a library of Vue components that will be used in UCLA Library Nuxt websites.
Other
6 stars 1 forks source link

feat: fix pnpm version in publish action #650

Closed pghorpade closed 3 weeks ago

pghorpade commented 3 weeks ago

this fixes the following bug: https://github.com/UCLALibrary/ucla-library-website-components/actions/runs/11694891777/job/32569373589

Run pnpm install
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your pnpm version is incompatible with "/home/runner/work/ucla-library-website-components/ucla-library-website-components".

Expected version: ^9.12.1
Got: [8](https://github.com/UCLALibrary/ucla-library-website-components/actions/runs/11694891777/job/32569373589#step:5:9).15.9

This is happening because the package's manifest has an engines.pnpm field specified.
To fix this issue, install the required pnpm version globally.

To install the latest version of pnpm, run "pnpm i -g pnpm".
To check your pnpm version, run "pnpm -v".
Error: Process completed with exit code 1.
github-actions[bot] commented 3 weeks ago

Percy Screenshots

In order to conserve our percy screenshot allowance, percy is not configured to run automatically. Please make sure the PR is ready and all other checks are passing, then start it manually:

  1. Visit https://github.com/UCLALibrary/ucla-library-website-components/actions/workflows/percy.yml 2. Click the 'Run workflow' button in the blue bar. 3. Select the correct branch for this PR and click 'Run workflow' again to confirm.
github-actions[bot] commented 3 weeks ago

🚀 Deployed on https://deploy-preview-650--ucla-library-storybook.netlify.app

pghorpade commented 3 weeks ago

:tada: This PR is included in version 3.32.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: