File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,28 @@ jobs:
14
14
run-linters :
15
15
name : Run linters
16
16
runs-on : ubuntu-latest
17
+ strategy :
18
+ matrix :
19
+ node-version : [18]
17
20
18
21
steps :
19
22
- name : Check out Git repository
20
23
uses : actions/checkout@v2
21
24
22
- - name : Set up Node.js
23
- uses : actions/setup-node@v1
25
+ - name : Set up pnpm
26
+ uses : pnpm/action-setup@v2
24
27
with :
25
- node-version : 18
28
+ version : 8
29
+
30
+ - name : Use Node.js ${{ matrix.node-version }}
31
+ uses : actions/setup-node@v3
32
+ with :
33
+ node-version : ${{ matrix.node-version }}
34
+ cache : ' pnpm'
26
35
27
36
# ESLint and Prettier must be in `package.json`
28
- - name : Install Node.js dependencies
29
- run : npm ci
37
+ - name : Install dependencies
38
+ run : pnpm install
30
39
31
40
- name : Run linters
32
41
uses : wearerequired/lint-action@v2
You can’t perform that action at this time.
0 commit comments