Skip to content

Commit f784ceb

Browse files
authored
JS-925 Migrate nodejs-maven-plugin to github actions (#18)
* Migrate * update small things * add push step * run promote on pull request * remove separate Promote.yml * single aciton * try again
1 parent 367b82f commit f784ceb

File tree

4 files changed

+36
-67
lines changed

4 files changed

+36
-67
lines changed

.cirrus.star

Lines changed: 0 additions & 5 deletions
This file was deleted.

.cirrus.yml

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build
2+
on:
3+
push:
4+
branches: [master, branch-*, dogfood-*]
5+
pull_request:
6+
merge_group:
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
build:
15+
runs-on: github-ubuntu-latest-m
16+
permissions:
17+
id-token: write
18+
contents: write
19+
steps:
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+
with:
22+
fetch-depth: 0
23+
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
24+
with:
25+
version: 2025.7.12
26+
- uses: SonarSource/ci-github-actions/build-maven@v1
27+
with:
28+
artifactory-reader-role: private-reader
29+
deploy-pull-request: true
30+
sonar-platform: next
31+
- uses: SonarSource/ci-github-actions/promote@v1
32+
with:
33+
promote-pull-request: true

mise.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[tools]
2+
java = "17.0"
3+
maven = "3.9"

0 commit comments

Comments
 (0)