File tree 6 files changed +2040
-1898
lines changed
6 files changed +2040
-1898
lines changed Original file line number Diff line number Diff line change 9
9
steps :
10
10
- name : Checkout the repository
11
11
uses : actions/checkout@v2
12
+ - name : Install pnpm
13
+ uses : pnpm/action-setup@v2
14
+ with :
15
+ version : latest
12
16
- name : Install Node.js
13
17
uses : actions/setup-node@v2
14
18
with :
15
19
node-version : 17
16
- cache : yarn
20
+ cache : pnpm
17
21
- name : Install dependencies
18
- run : yarn install --frozen-lockfile
22
+ run : pnpm install --frozen-lockfile
19
23
- name : Run tests
20
- run : yarn test
24
+ run : pnpm test
21
25
env :
22
26
FORCE_COLOR : 2
23
27
short :
@@ -32,14 +36,18 @@ jobs:
32
36
steps :
33
37
- name : Checkout the repository
34
38
uses : actions/checkout@v2
39
+ - name : Install pnpm
40
+ uses : pnpm/action-setup@v2
41
+ with :
42
+ version : latest
35
43
- name : Install Node.js ${{ matrix.node-version }}
36
44
uses : actions/setup-node@v2
37
45
with :
38
46
node-version : ${{ matrix.node-version }}
39
- cache : yarn
47
+ cache : pnpm
40
48
- name : Install dependencies
41
- run : yarn install --frozen-lockfile
49
+ run : pnpm install --frozen-lockfile
42
50
- name : Run unit tests
43
- run : yarn unit
51
+ run : pnpm unit
44
52
env :
45
53
FORCE_COLOR : 2
Original file line number Diff line number Diff line change 1
1
node_modules /
2
- yarn-error.log
3
2
4
3
coverage /
Original file line number Diff line number Diff line change 1
- yarn-error.log
2
- yarn.lock
1
+ pnpm-lock.yaml
3
2
4
3
** /* .test.ts
5
4
** /types.ts
Original file line number Diff line number Diff line change 13
13
],
14
14
"scripts" : {
15
15
"unit" : " tsm node_modules/uvu/bin.js . '\\ .test\\ .(ts|js)$'" ,
16
- "test" : " c8 yarn unit && eslint . && check-dts"
16
+ "test" : " c8 pnpm unit && eslint . && check-dts"
17
17
},
18
18
"author" :
" Andrey Sitnik <[email protected] >" ,
19
19
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments