Skip to content

Commit 838aed8

Browse files
updated workflow file
1 parent 5d8fbaf commit 838aed8

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
2+
# For more information see: https://pnpm.io/continuous-integration#github-actions
33

44
name: Tests
55

@@ -23,5 +23,15 @@ jobs:
2323
uses: actions/setup-node@v3
2424
with:
2525
node-version: ${{ matrix.node-version }}
26-
- run: yarn
27-
- run: yarn test
26+
cache: 'pnpm'
27+
28+
- name: Setup pnpm
29+
uses: pnpm/action-setup@v4
30+
with:
31+
version: 10
32+
33+
- name: Install dependencies
34+
run: pnpm install --frozen-lockfile
35+
36+
- name: Run tests
37+
run: pnpm test

0 commit comments

Comments
 (0)