We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddb22de commit c592ec4Copy full SHA for c592ec4
.github/workflows/test.yml
@@ -10,18 +10,22 @@ jobs:
10
strategy:
11
matrix:
12
node-version:
13
+ - 20
14
- 18
15
- 16
- - 14
16
name: Node.js ${{ matrix.node-version }}
17
steps:
18
- name: Checkout the repository
19
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
20
+ # Pulls version from packageManager key in package.json
21
+ - name: Setup pnpm
22
+ uses: pnpm/action-setup@v2
23
- name: Install Node.js ${{ matrix.node-version }}
- uses: actions/setup-node@v2
24
+ uses: actions/setup-node@v3
25
with:
26
node-version: ${{ matrix.node-version }}
27
+ cache: "pnpm"
28
- name: Install dependencies
- uses: bahmutov/npm-install@v1
29
+ run: pnpm install
30
- name: Run unit tests
- run: npm test
31
+ run: pnpm test
0 commit comments