Skip to content

Commit db0de21

Browse files
committed
use corepack
1 parent 1f24bd0 commit db0de21

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,9 @@ jobs:
99
steps:
1010
- name: Checkout 🛎️
1111
uses: actions/checkout@master
12-
13-
- uses: pnpm/action-setup@v4
14-
name: Install pnpm
15-
with:
16-
run_install: true
12+
13+
- run: corepack enable
14+
- run: pnpm install --frozen-lockfile
1715

1816
- name: Build 🏗️
1917
run: pnpm build

.github/workflows/publish.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313
- name: Checkout 🛎️
1414
uses: actions/checkout@master
1515

16-
- uses: pnpm/action-setup@v4
17-
name: Install pnpm
18-
with:
19-
run_install: true
16+
- run: corepack enable
17+
- run: pnpm install --frozen-lockfile
2018

2119
- name: Build 🏗️
2220
run: pnpm build

0 commit comments

Comments
 (0)