Skip to content

Commit 3ea15b1

Browse files
authored
env: use pnpm (#938)
1 parent 87c5f9e commit 3ea15b1

File tree

3 files changed

+12847
-14226
lines changed

3 files changed

+12847
-14226
lines changed

Diff for: .github/workflows/ci.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ jobs:
99
- uses: actions/setup-node@master
1010
with:
1111
node-version: 20
12-
- name: yarn
13-
run: yarn --frozen-lockfile
12+
- uses: pnpm/action-setup@v2
13+
with:
14+
version: 8
15+
- name: Install dependencies
16+
run: pnpm i --frozen-lockfile
1417
- name: lint
15-
run: yarn lint
18+
run: pnpm lint
1619

1720
tsc:
1821
runs-on: ubuntu-latest
@@ -21,10 +24,13 @@ jobs:
2124
- uses: actions/setup-node@master
2225
with:
2326
node-version: 20
24-
- name: yarn
25-
run: yarn --frozen-lockfile
27+
- uses: pnpm/action-setup@v2
28+
with:
29+
version: 8
30+
- name: Install dependencies
31+
run: pnpm i --frozen-lockfile
2632
- name: tsc
27-
run: yarn tsc
33+
run: pnpm tsc
2834

2935
# test:
3036
# runs-on: ubuntu-latest

0 commit comments

Comments
 (0)