Skip to content

Commit b4721d6

Browse files
committed
fix(ci): install pnpm
1 parent 02a2996 commit b4721d6

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/tests.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,25 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout repository
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
1214

1315
- name: Install Node
14-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v4
1517
with:
1618
node-version: 22
1719

20+
- uses: pnpm/action-setup@v4.1.0
21+
name: Install pnpm
22+
with:
23+
run_install: false
24+
1825
- name: Install deps
1926
run: pnpm i --frozen-lockfile
2027

2128
- name: Build
22-
run: yarn run build
29+
run: pnpm run build
2330

2431
- name: Run ESLint & Prettier
25-
run: yarn run lint
32+
run: pnpm run lint

0 commit comments

Comments
 (0)