File tree Expand file tree Collapse file tree 1 file changed +41
-18
lines changed Expand file tree Collapse file tree 1 file changed +41
-18
lines changed Original file line number Diff line number Diff line change @@ -11,34 +11,57 @@ defaults:
11
11
shell : bash
12
12
13
13
jobs :
14
- test :
15
- name : Test Node ${{ matrix.node }}
14
+ prettier :
15
+ name : Prettier
16
16
runs-on : ubuntu-latest
17
- strategy :
18
- matrix :
19
- node : [18, 20, 22]
20
17
steps :
21
18
- uses : actions/checkout@v4
22
19
- uses : actions/setup-node@v4
23
20
with :
24
- node-version : ${{ matrix.node }}
25
-
21
+ node-version : 18
26
22
- name : Install Dependencies
27
- run : |
28
- npm install
29
-
23
+ run : npm install
30
24
- name : Prettier
31
- run : |
32
- npm run prettier
25
+ run : npm run prettier
33
26
27
+ lint :
28
+ name : Lint
29
+ runs-on : ubuntu-latest
30
+ steps :
31
+ - uses : actions/checkout@v4
32
+ - uses : actions/setup-node@v4
33
+ with :
34
+ node-version : 18
35
+ - name : Install Dependencies
36
+ run : npm install
34
37
- name : Lint
35
- run : |
36
- npm run lint
38
+ run : npm run lint
37
39
40
+ build :
41
+ name : Build
42
+ runs-on : ubuntu-latest
43
+ steps :
44
+ - uses : actions/checkout@v4
45
+ - uses : actions/setup-node@v4
46
+ with :
47
+ node-version : 18
48
+ - name : Install Dependencies
49
+ run : npm install
38
50
- name : Build
39
- run : |
40
- npm run build
51
+ run : npm run build
41
52
53
+ test :
54
+ name : Test Node ${{ matrix.node }}
55
+ runs-on : ubuntu-latest
56
+ strategy :
57
+ matrix :
58
+ node : [18, 20, 22]
59
+ steps :
60
+ - uses : actions/checkout@v4
61
+ - uses : actions/setup-node@v4
62
+ with :
63
+ node-version : ${{ matrix.node }}
64
+ - name : Install Dependencies
65
+ run : npm install
42
66
- name : Test
43
- run : |
44
- npm run test -- --coverage
67
+ run : npm run test -- --coverage
You can’t perform that action at this time.
0 commit comments