-
Notifications
You must be signed in to change notification settings - Fork 2.1k
48 lines (43 loc) · 1.59 KB
/
continuous-integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
on:
pull_request:
types: ["opened", "reopened", "synchronize"]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
continous-integration:
name: "Continuous Integration"
uses: ./.github/workflows/ci-integrations.yml
secrets: inherit
with:
enterprise: false
sonarcloud-sdk:
name: "SonarCloud SDK"
needs: [continous-integration]
uses: ./.github/workflows/sonarcloud-integrations.yml
secrets:
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
with:
project_key: "vuestorefront_vue-storefront_sdk"
package_name: "sdk"
exclusions: "*.config.js,src/index.ts,src/api-extractor-data.ts,**/types/**,**/__tests__/**/*"
sonarcloud-cli:
name: "SonarCloud CLI"
needs: [continous-integration]
uses: ./.github/workflows/sonarcloud-integrations.yml
secrets:
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
with:
project_key: "vuestorefront_vue-storefront_cli"
package_name: "cli"
exclusions: "*.config.js,*.config.*.ts,src/index.ts,src/connector.ts,src/api-extractor-data.ts,**/types/**,"
sonarcloud-middleware:
name: "SonarCloud Middleware"
needs: [continous-integration]
uses: ./.github/workflows/sonarcloud-integrations.yml
secrets:
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
with:
project_key: "vuestorefront_vue-storefront_middleware"
package_name: "middleware"
exclusions: "*.config.js,*.config.*.ts,src/index.ts,src/connector.ts,src/api-extractor-data.ts,**/types/**,**/__tests__/**/*"