Skip to content

JS-925 Migrate nodejs-maven-plugin to github actions #5

JS-925 Migrate nodejs-maven-plugin to github actions

JS-925 Migrate nodejs-maven-plugin to github actions #5

Workflow file for this run

name: Build
on:
push:
branches: [master, branch-*, dogfood-*]
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: github-ubuntu-latest-m
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
fetch-depth: 0
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
with:
version: 2025.7.12
- uses: SonarSource/ci-github-actions/build-maven@v1
with:
deploy-pull-request: true
sonar-platform: next
promote:
needs: build
if: >
github.event_name == 'push' || github.event_name == 'pull_request'
runs-on: github-ubuntu-latest-s
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: jdx/mise-action@5ac50f778e26fac95da98d50503682459e86d566 # v3.2.0
- uses: SonarSource/ci-github-actions/promote@v1