File tree Expand file tree Collapse file tree 2 files changed +47
-17
lines changed Expand file tree Collapse file tree 2 files changed +47
-17
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
check :
10
- name : Source revision
10
+ name : Source Revision
11
11
runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ node-version : [22.x, 20.x, 18.x]
12
15
13
16
steps :
14
17
- uses : actions/checkout@v4
18
+
15
19
- uses : actions/setup-node@v4
16
20
with :
17
- node-version : ' 22.12.0'
21
+ node-version : ${{ matrix.node-version }}
22
+ cache : ' npm'
23
+
24
+ - name : Install Dependencies
25
+ run : npm ci
26
+
27
+ - name : Run Format Check
28
+ run : npm run format:check
29
+
30
+ - name : Run Lint Check
31
+ run : npm run lint:check
18
32
19
- - run : npm ci
20
- - run : npm run format:check
21
- - run : npm run lint:check
22
- - run : npm run build
33
+ - name : Build
34
+ run : npm run build
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
check :
10
- name : Source revision
10
+ name : Source Revision
11
11
runs-on : ubuntu-latest
12
+ strategy :
13
+ matrix :
14
+ node-version : [22.x, 20.x, 18.x]
12
15
13
16
steps :
14
17
- uses : actions/checkout@v4
18
+
15
19
- uses : actions/setup-node@v4
16
20
with :
17
- node-version : ' 22.12.0'
21
+ node-version : ${{ matrix.node-version }}
22
+ cache : ' npm'
23
+
24
+ - name : Install Dependencies
25
+ run : npm ci
26
+
27
+ - name : Run Format Check
28
+ run : npm run format:check
29
+
30
+ - name : Run Lint Check
31
+ run : npm run lint:check
18
32
19
- - run : npm ci
20
- - run : npm run format:check
21
- - run : npm run lint:check
22
- - run : npm run build
33
+ - name : Build
34
+ run : npm run build
23
35
24
36
tag :
25
37
name : Version tag
@@ -47,10 +59,16 @@ jobs:
47
59
- uses : actions/checkout@v4
48
60
- uses : actions/setup-node@v4
49
61
with :
50
- node-version : ' 22.12.0'
51
- registry-url : ' https://registry.npmjs.org'
52
- - run : npm ci
53
- - run : npm run build
54
- - run : npm publish
62
+ node-version : ' 22'
63
+ cache : ' npm'
64
+
65
+ - name : Install Dependencies
66
+ run : npm ci
67
+
68
+ - name : Build
69
+ run : npm run build
70
+
71
+ - name : Publish
72
+ run : npm publish
55
73
env :
56
74
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments