Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: use pnpm/action-setup for pnpm #108

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MikeMcC399
Copy link
Contributor

@MikeMcC399 MikeMcC399 commented Apr 5, 2025

Prerequisites checklist

What is the purpose of this pull request?

The pnpm-install job in the workflow .github/workflows/ci-build-all-pm.yml relies on a version of Corepack bundled with Node.js. The Node.js website https://nodejs.org/docs/latest/api/corepack.html states "... Corepack itself will no longer be distributed with future versions of Node.js." which would cause the workflow to break.

Following the pnpm package manager's documentation Continuous Integration > GitHub Actions, the installation method for pnpm in GitHub Actions is changed to using the JavaScript GitHub Action pnpm/action-setup@v4, replacing the need for Corepack.

What changes did you make? (Give an overview)

In the workflow .github/workflows/ci-build-all-pm.yml pnpm-install job, replace corepack with pnpm/action-setup@v4 following the example in Continuous Integration > GitHub Actions.

Related Issues

Is there anything you'd like reviewers to focus on?

Check that https://github.com/eslint/css/actions/workflows/ci-build-all-pm.yml completes successfully

@MikeMcC399
Copy link
Contributor Author

@MikeMcC399 MikeMcC399 marked this pull request as ready for review April 5, 2025 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

1 participant