Skip to content

Commit 8dc1a52

Browse files
corepack enable (#778)
1 parent fb3cad1 commit 8dc1a52

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.github/workflows/buildandtest.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
steps:
2424
- name: Check out current commit (${{ github.sha }})
2525
uses: actions/checkout@v4
26+
- run: corepack enable
2627
- name: Set up Node
2728
uses: actions/setup-node@v4
2829
# we use a hash of yarn.lock as our cache key, because if it hasn't changed, our dependencies haven't changed,
@@ -51,6 +52,7 @@ jobs:
5152
steps:
5253
- name: Check out current commit (${{ github.sha }})
5354
uses: actions/checkout@v4
55+
- run: corepack enable
5456
- name: Set up Node
5557
uses: actions/setup-node@v4
5658
- name: Check dependency cache
@@ -108,6 +110,7 @@ jobs:
108110
steps:
109111
- name: Check out current commit (${{ github.sha }})
110112
uses: actions/checkout@v4
113+
- run: corepack enable
111114
- name: Set up Node
112115
uses: actions/setup-node@v4
113116
- name: Check dependency cache
@@ -150,6 +153,7 @@ jobs:
150153
steps:
151154
- name: Check out current commit (${{ github.sha }})
152155
uses: actions/checkout@v4
156+
- run: corepack enable
153157
- name: Set up Node
154158
uses: actions/setup-node@v4
155159
- name: Check dependency cache
@@ -172,6 +176,7 @@ jobs:
172176
steps:
173177
- name: Check out current commit (${{ github.sha }})
174178
uses: actions/checkout@v4
179+
- run: corepack enable
175180
- name: Set up Node
176181
uses: actions/setup-node@v4
177182
- name: Check dependency cache

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
with:
1818
token: ${{ secrets.GH_RELEASE_PAT }}
1919
fetch-depth: 0
20+
- run: corepack enable
2021
- name: Install Dependencies
2122
run: yarn install
2223
- name: Prepare release

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
You need:
66

7-
- [nodejs](https://nodejs.org/en/download/) 8 or higher
7+
- [nodejs](https://nodejs.org/en/download/) 18 or higher (with corepack enabled)
88
- [yarn 1](https://classic.yarnpkg.com/lang/en/docs/install) or higher
99
- [yalc](https://github.com/wclr/yalc) (can be installed with `yarn global add yalc`)
1010
- http-server

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,5 +132,6 @@
132132
"testMatch": [
133133
"**/*.test.(ts|tsx)"
134134
]
135-
}
135+
},
136+
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
136137
}

0 commit comments

Comments
 (0)