Skip to content

Commit 5d62a16

Browse files
Update push.yml
1 parent 2349688 commit 5d62a16

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v3
1616

17-
# Install pnpm
18-
- name: Install pnpm
19-
run: npm install -g pnpm
17+
# Setup pnpm
18+
- name: Setup pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
cache: pnpm
22+
cache-dependency-path: |
23+
docs/pnpm-lock.yaml
24+
docs/package.json
2025
2126
# Install dependencies and run tests
2227
- name: Run Tests and Upload Coverage to Codecov

0 commit comments

Comments
 (0)