File tree 2 files changed +12
-11
lines changed
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 7
7
# More details at https://github.com/eslint/eslint
8
8
# and https://eslint.org
9
9
10
- name : ESLint
10
+ name : Continuous Integration
11
11
12
12
on :
13
13
push :
19
19
- cron : ' 29 3 * * 5'
20
20
21
21
jobs :
22
- eslint :
23
- name : Run eslint scanning
22
+ ci :
23
+ name : Run code scanning and tests
24
24
runs-on : ubuntu-latest
25
25
permissions :
26
26
contents : read
@@ -30,16 +30,13 @@ jobs:
30
30
- name : Checkout code
31
31
uses : actions/checkout@v3
32
32
33
- - name : Install ESLint
34
- run : |
35
-
36
- npm install @microsoft/[email protected]
37
-
33
+ - name : Install dependencies
34
+ run : yarn install
38
35
39
36
- name : Run ESLint
40
- run : npx eslint .
41
- --config .eslintrc.js
42
- --ext .js,.jsx,.ts,.tsx
37
+ env :
38
+ SARIF_ESLINT_IGNORE_SUPPRESSED : true
39
+ run : yarn lint
43
40
--format @microsoft/eslint-formatter-sarif
44
41
--output-file eslint-results.sarif
45
42
continue-on-error : true
49
46
with :
50
47
sarif_file : eslint-results.sarif
51
48
wait-for-processing : true
49
+
50
+ - name : Run Jest
51
+ run : yarn test
Original file line number Diff line number Diff line change 73
73
"@babel/preset-env" : " ^7.24.5" ,
74
74
"@babel/preset-react" : " ^7.24.1" ,
75
75
"@furkot/webfonts-generator" : " ^2.0.2" ,
76
+ "@microsoft/eslint-formatter-sarif" : " ^3.1.0" ,
76
77
"@testing-library/dom" : " ^10.1.0" ,
77
78
"@testing-library/jest-dom" : " ^6.4.6" ,
78
79
"@testing-library/react" : " ^16.0.0" ,
You can’t perform that action at this time.
0 commit comments