We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d8fbaf commit 838aed8Copy full SHA for 838aed8
.github/workflows/test.yml
@@ -1,5 +1,5 @@
1
# 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
+# For more information see: https://pnpm.io/continuous-integration#github-actions
3
4
name: Tests
5
@@ -23,5 +23,15 @@ jobs:
23
uses: actions/setup-node@v3
24
with:
25
node-version: ${{ matrix.node-version }}
26
- - run: yarn
27
- - run: yarn test
+ cache: 'pnpm'
+
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