Skip to content

Commit a0414dd

Browse files
committed
update ci for pnpm install
1 parent 2883e33 commit a0414dd

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v2
20+
- uses: pnpm/action-setup@v2
21+
name: Install pnpm
22+
with:
23+
version: 8
24+
run_install: false
2025
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v1
26+
uses: actions/setup-node@v3
2227
with:
23-
node-version: ${{ matrix.node-version }}
28+
node-version: ${{ matrix.node-version }}
29+
cache: pnpm
2430
- run: pnpm install
2531
- run: pnpm test

0 commit comments

Comments
 (0)