Skip to content

Document and update CI for Corepack manual installation #2649

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

Merged
merged 1 commit into from
Mar 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-on-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Extract version from tag
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV

- run: corepack enable
- run: npm i -g corepack && corepack enable
- uses: actions/setup-node@v4
with:
cache: 'yarn'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- run: npm i -g corepack && corepack enable
- uses: actions/setup-node@v4
with:
cache: 'yarn'
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- run: npm i -g corepack && corepack enable
- uses: actions/setup-node@v4
with:
cache: 'yarn'
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- run: npm i -g corepack && corepack enable
- uses: actions/setup-node@v4
with:
cache: 'yarn'
Expand All @@ -156,7 +156,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- run: corepack enable
- run: npm i -g corepack && corepack enable

- uses: actions/setup-node@v4
with:
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ To set up the development environment, you need the following tools:
- [PHP](https://www.php.net/downloads.php) 8.1 or higher
- [Composer](https://getcomposer.org/download/)
- [Node.js](https://nodejs.org/en/download/package-manager) 22 or higher
- [Corepack](https://github.com/nodejs/corepack)
- [Yarn](https://yarnpkg.com/) 4 or higher

With these tools installed, you can install the project dependencies:
Expand Down
Loading