File tree 1 file changed +9
-41
lines changed
1 file changed +9
-41
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
+
2
3
on :
3
4
push :
4
5
branches :
5
6
- ' main'
6
7
pull_request :
7
8
8
9
jobs :
9
- license-headers :
10
- name : Check licenses headers
11
- runs-on : ubuntu-latest
12
- steps :
13
- - name : Checkout sources
14
- uses : actions/checkout@v4
15
- with :
16
- persist-credentials : false
17
- - uses : actions/setup-node@v4
18
- with :
19
- node-version : 22
20
- - name : Check License Header (Check Mode)
21
- uses :
apache/skywalking-eyes/[email protected]
22
- with :
23
- config : .github/config/.licenserc.yaml
24
-
25
- build :
26
- runs-on : ubuntu-latest
27
- steps :
28
- - name : Checkout sources
29
- uses : actions/checkout@v4
30
- with :
31
- persist-credentials : false
32
-
33
- - uses : actions/setup-node@v4
34
- with :
35
- node-version : 22
36
-
37
- - name : Build
38
- run : |
39
- npm ci
40
- npm run licenses-check
41
- npm run lint
42
- npm run test:coverage
43
- npm run build
44
-
45
- - name : SonarCloud Scan
46
- uses : SonarSource/sonarqube-scan-action@bfd4e558cda28cda6b5defafb9232d191be8c203 # v4.2.1
47
- env :
48
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49
- SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
10
+ build :
11
+ uses : powsybl/github-ci/.github/workflows/build-frontend-lib-generic.yml@852670523f7fb3699d16efcbdd6d7500d5730b2f
12
+ with :
13
+ eventType : diagram_viewer_updated
14
+ licensercPath : .github/config/.licenserc.yaml
15
+ secrets :
16
+ sonar-token : ${{ secrets.SONAR_TOKEN }}
17
+ repo-token : ${{ secrets.REPO_ACCESS_TOKEN }}
You can’t perform that action at this time.
0 commit comments