File tree Expand file tree Collapse file tree 4 files changed +1705
-4249
lines changed Expand file tree Collapse file tree 4 files changed +1705
-4249
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,21 @@ jobs:
10
10
steps :
11
11
- name : Checkout
12
12
uses : actions/checkout@v4
13
+
14
+ - uses : pnpm/action-setup@v4
15
+ name : Install pnpm
13
16
with :
14
- persist-credentials : false
17
+ version : latest
18
+ run_install : false
15
19
16
- - name : restore node modules
17
- uses : actions/cache@v4
18
- id : node-modules-cache
20
+ - name : Install Node.js
21
+ uses : actions/setup-node@v4
19
22
with :
20
- path : node_modules
21
- key : ${{ runner.os }}-node-modules-${{ hashFiles('package-lock.json') }}
23
+ node-version : lts/*
24
+ cache : ' pnpm '
22
25
23
- - name : Install Deps
24
- if : steps.node-modules-cache.outputs.cache-hit != 'true'
25
- run : npm ci
26
+ - name : Install dependencies
27
+ run : pnpm install --frozen-lockfile
26
28
27
29
- name : Run test
28
30
run : npm run test
You can’t perform that action at this time.
0 commit comments