Skip to content

Commit 6f543c4

Browse files
Github Actions
1 parent ce64fe3 commit 6f543c4

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/build.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build
2+
on:
3+
pull_request:
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
build:
11+
runs-on: sonar-s-public
12+
name: Build, JUnit and SonarQube
13+
permissions:
14+
id-token: write
15+
contents: write
16+
steps:
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
18+
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
19+
with:
20+
version: 2025.7.12
21+
mise_toml: |
22+
[tools]
23+
yarn= "3.6.3"
24+
node = "18"
25+
java = "temurin-17"
26+
- uses: SonarSource/ci-github-actions/build-gradle@v1
27+
with:
28+
deploy: false
29+
artifactory-reader-role: private-reader
30+
artifactory-deployer-role: private-reader
31+
sonar-platform: next
32+
gradle-args: "-Dsonar.projectKey=sonarqube -Dsonar.organization=sonarsource -Dsonar.exclusions=**/design-system/theme/**,**/legacy-design-system/**"

0 commit comments

Comments
 (0)