Skip to content

Commit 38785d5

Browse files
committed
Fix: Using pnpm instead of npm
1 parent bbc1fcc commit 38785d5

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/test.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,12 @@ jobs:
5454
node: ${{ env.NODE_VERSION }}
5555
cache: ${{ env.CACHE_KEY }}
5656

57-
- run: npm test
57+
- name: Setup pnpm
58+
uses: pnpm/action-setup@v3 # docs https://pnpm.io/continuous-integration#github-actions
59+
with:
60+
version: 8
61+
62+
- run: pnpm test
5863

5964
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # [email protected]
6065

@@ -72,4 +77,9 @@ jobs:
7277
node: ${{ env.NODE_VERSION }}
7378
cache: ${{ env.CACHE_KEY }}
7479

75-
- run: npm run lint
80+
- name: Setup pnpm
81+
uses: pnpm/action-setup@v3 # docs https://pnpm.io/continuous-integration#github-actions
82+
with:
83+
version: 8
84+
85+
- run: pnpm run lint

0 commit comments

Comments
 (0)