File tree Expand file tree Collapse file tree 2 files changed +24
-15
lines changed Expand file tree Collapse file tree 2 files changed +24
-15
lines changed Original file line number Diff line number Diff line change 1
1
name : ci-node-workflow
2
- on :
2
+ on :
3
3
pull_request :
4
4
branches :
5
5
- develop
6
- jobs :
6
+ jobs :
7
+ sonarcloud :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - uses : actions/setup-node@v4
12
+ with :
13
+ node-version : 22
14
+ - run : npm run test:cov
7
15
check-application :
8
16
runs-on : ubuntu-latest
9
17
steps :
10
18
- uses : actions/checkout@v4
11
19
- uses : actions/setup-node@v4
12
20
with :
13
- node-version : 20
21
+ node-version : 22
14
22
- run : npm run test
15
23
- run : npm run start
16
24
32
40
with :
33
41
context : .
34
42
push : true
35
- tags : mathmelo/ci-github-actions:latest
43
+ tags : mathmelo/ci-github-actions:latest
Original file line number Diff line number Diff line change 1
1
{
2
- "name" : " gitsign" ,
3
- "version" : " 1.0.0" ,
4
- "main" : " index.js" ,
5
- "scripts" : {
6
- "start" : " node index.js" ,
7
- "test" : " node index.test.js"
8
- },
9
- "keywords" : [],
10
- "author" : " " ,
11
- "license" : " ISC" ,
12
- "description" : " "
2
+ "name" : " gitsign" ,
3
+ "version" : " 1.0.0" ,
4
+ "main" : " index.js" ,
5
+ "scripts" : {
6
+ "start" : " node index.js" ,
7
+ "test" : " node index.test.js" ,
8
+ "test:cov" : " node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info"
9
+ },
10
+ "keywords" : [],
11
+ "author" : " " ,
12
+ "license" : " ISC" ,
13
+ "description" : " "
13
14
}
You can’t perform that action at this time.
0 commit comments