Skip to content

Commit c064d5c

Browse files
committed
ci: add corepack to ci
1 parent ec69d44 commit c064d5c

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/package-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
node-version-file: ".nvmrc"
2121
cache: "yarn"
2222
cache-dependency-path: "**/yarn.lock"
23+
- name: Enable corepack
24+
run: corepack enable
2325
- name: Restore Node.js dependencies
2426
run: yarn install --immutable
2527
- name: Restore package.json

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
cache-dependency-path: "**/yarn.lock"
1919
registry-url: "https://registry.npmjs.org"
2020
scope: "@reflag"
21+
- name: Enable corepack
22+
run: corepack enable
2123
- name: Install dependencies
2224
run: yarn install --immutable
2325
- name: Build packages

packages/node-sdk/examples/express/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "example",
3-
"packageManager": "yarn@4.1.1",
3+
"packageManager": "yarn@4.10.3",
44
"scripts": {
55
"start": "tsx serve.ts",
66
"test": "vitest"

0 commit comments

Comments
 (0)