Skip to content

Commit 7e060c6

Browse files
chore(ci): update CI workflow to install and verify pnpm globally
1 parent 55beae0 commit 7e060c6

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,30 @@ jobs:
99
test:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v4
13+
1314
- uses: actions/setup-node@v4
1415
with:
1516
node-version: '18'
1617
cache: 'pnpm'
17-
check-latest: true
18-
- uses: pnpm/action-setup@v2
19-
with:
20-
version: 8
18+
19+
- name: Install pnpm globally
20+
run: npm install -g pnpm@8
21+
22+
- name: Verify pnpm version
23+
run: pnpm --version
24+
2125
- name: Install dependencies
2226
run: pnpm install --frozen-lockfile
27+
2328
- name: Run linting
2429
run: pnpm run lint
30+
2531
- name: Run type checking
2632
run: pnpm run type-check
33+
2734
- name: Run tests
2835
run: pnpm test
36+
2937
- name: Run build
3038
run: pnpm run build

0 commit comments

Comments
 (0)