-
Notifications
You must be signed in to change notification settings - Fork 2.2k
39 lines (37 loc) · 1.22 KB
/
build.yml
File metadata and controls
39 lines (37 loc) · 1.22 KB
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
name: Build
on:
push:
branches:
- master
- branch-*
workflow_dispatch:
schedule:
- cron: '0 14 * * *' # Run at 2PM UTC everyday
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: sonar-s-public
name: Build, JUnit and SonarQube
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
with:
version: 2026.3.13
mise_toml: |
[tools]
yarn= "3.6.3"
node = "18"
java = "temurin-21"
- uses: SonarSource/ci-github-actions/build-gradle@148774f456203f228b7bd1bd68ed0c22254d9cd1 # v1.3.24
with:
deploy: false
artifactory-reader-role: private-reader
artifactory-deployer-role: qa-deployer
sonar-platform: next
run-shadow-scans: true
gradle-args: "jacocoTestReport -Dsonar.projectKey=sonarqube -Dsonar.organization=sonarsource -Dsonar.exclusions=**/design-system/theme/**,**/legacy-design-system/**"