File tree 6 files changed +1547
-1600
lines changed
6 files changed +1547
-1600
lines changed Original file line number Diff line number Diff line change 1
1
name : Test
2
2
on :
3
3
push :
4
+ branches :
5
+ - main
4
6
pull_request :
5
7
jobs :
6
8
full :
9
11
steps :
10
12
- name : Checkout the repository
11
13
uses : actions/checkout@v2
14
+ - name : Install pnpm
15
+ uses : pnpm/action-setup@v2
16
+ with :
17
+ version : latest
12
18
- name : Install Node.js
13
19
uses : actions/setup-node@v2
14
20
with :
15
21
node-version : 17
16
- cache : yarn
22
+ cache : pnpm
17
23
- name : Install dependencies
18
- run : yarn install --frozen-lockfile
24
+ run : pnpm install --frozen-lockfile --ignore-scripts
19
25
- name : Run tests
20
- run : yarn test
26
+ run : pnpm test
21
27
env :
22
28
FORCE_COLOR : 2
23
29
short :
@@ -32,14 +38,18 @@ jobs:
32
38
steps :
33
39
- name : Checkout the repository
34
40
uses : actions/checkout@v2
41
+ - name : Install pnpm
42
+ uses : pnpm/action-setup@v2
43
+ with :
44
+ version : latest
35
45
- name : Install Node.js ${{ matrix.node-version }}
36
46
uses : actions/setup-node@v2
37
47
with :
38
48
node-version : ${{ matrix.node-version }}
39
- cache : yarn
49
+ cache : pnpm
40
50
- name : Install dependencies
41
- run : yarn install --frozen-lockfile
51
+ run : pnpm install --frozen-lockfile --ignore-scripts
42
52
- name : Run unit tests
43
- run : yarn unit
53
+ run : pnpm unit
44
54
env :
45
55
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
3
-
4
1
test /
2
+ tsconfig.json
5
3
coverage /
6
- .github /
Original file line number Diff line number Diff line change 11
11
],
12
12
"scripts" : {
13
13
"unit" : " uvu . '\\ .test\\ .(ts|js)$'" ,
14
- "test" : " c8 yarn unit && eslint ."
14
+ "test" : " c8 pnpm unit && eslint ."
15
15
},
16
16
"author" :
" Andrey Sitnik <[email protected] >" ,
17
17
"license" : " MIT" ,
27
27
"postcss" : " ^8.2.14"
28
28
},
29
29
"dependencies" : {
30
- "fast-glob" : " ^3.2.7 " ,
31
- "postcss-js" : " ^3 .0.3 " ,
30
+ "fast-glob" : " ^3.2.11 " ,
31
+ "postcss-js" : " ^4 .0.0 " ,
32
32
"postcss-simple-vars" : " ^6.0.3" ,
33
33
"sugarss" : " ^4.0.1"
34
34
},
35
35
"devDependencies" : {
36
- "@logux/eslint-config" : " ^46.1.0 " ,
37
- "c8" : " ^7.10 .0" ,
38
- "clean-publish" : " ^3.4.4 " ,
39
- "eslint" : " ^8.4 .0" ,
36
+ "@logux/eslint-config" : " ^46.1.1 " ,
37
+ "c8" : " ^7.11 .0" ,
38
+ "clean-publish" : " ^4.0.0 " ,
39
+ "eslint" : " ^8.9 .0" ,
40
40
"eslint-config-standard" : " ^16.0.3" ,
41
- "eslint-plugin-import" : " ^2.25.3 " ,
41
+ "eslint-plugin-import" : " ^2.25.4 " ,
42
42
"eslint-plugin-node" : " ^11.1.0" ,
43
43
"eslint-plugin-prefer-let" : " ^3.0.1" ,
44
- "eslint-plugin-promise" : " ^5.2 .0" ,
45
- "postcss" : " ^8.4.4 " ,
46
- "uvu" : " ^0.5.2 "
44
+ "eslint-plugin-promise" : " ^6.0 .0" ,
45
+ "postcss" : " ^8.4.7 " ,
46
+ "uvu" : " ^0.5.3 "
47
47
},
48
48
"prettier" : {
49
49
"arrowParens" : " avoid" ,
66
66
" **/*.test.*"
67
67
],
68
68
"lines" : 100 ,
69
+ "reporter" : " lcov" ,
69
70
"check-coverage" : true
70
71
},
71
72
"clean-publish" : {
You can’t perform that action at this time.
0 commit comments