Commit f08d03a 1 parent 4217e4a commit f08d03a Copy full SHA for f08d03a
File tree 1 file changed +30
-3
lines changed
1 file changed +30
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
lint :
11
- name : Lint
11
+ name : Lint the code
12
12
13
13
runs-on : ubuntu-22.04
14
14
15
15
strategy :
16
16
matrix :
17
- node-version : [18.x, 20.x, 22.x]
17
+ node-version : [ 22.x ]
18
18
# See supported Node.js release schedule at https://nodejs.org/en/about/releases
19
19
20
20
steps :
33
33
- name : Lint the code
34
34
run : yarn lint
35
35
36
+ audit :
37
+ name : Audit the code
38
+
39
+ runs-on : ubuntu-22.04
40
+
41
+ strategy :
42
+ matrix :
43
+ node-version : [ 22.x ]
44
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases
45
+
46
+ steps :
47
+ - name : Checkout code
48
+ uses : actions/checkout@v4
49
+
50
+ - name : Setup Node.js environment
51
+ uses : actions/setup-node@v4
52
+ with :
53
+ node-version : ${{ matrix.node-version }}
54
+ cache : ' yarn'
55
+
56
+ - name : Install dependencies
57
+ run : yarn --immutable
58
+
59
+ - name : Run dependencies audit
60
+ run : yarn npm audit --all
61
+
62
+
36
63
build :
37
- name : Build and Test
64
+ name : Build and Test packages
38
65
39
66
runs-on : ubuntu-22.04
40
67
You can’t perform that action at this time.
0 commit comments