Skip to content

Ability to disable bundled apps #17

Ability to disable bundled apps

Ability to disable bundled apps #17

Workflow file for this run

name: SonarQube Quality Check
on:
push:
branches: [ "v3.x/staging" ]
pull_request:
branches: [ "v3.x/staging" ]
types: [opened, synchronize, reopened, ready_for_review]
jobs:
analyze-pr:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
defaults:
run:
working-directory: ./
steps:
- name: Checkout PR head with limited history
uses: actions/checkout@v4
with:
ref: v3.x/staging
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install npm
run: npm install
- name: Test with coverage (Jest)
run: npm test --if-present -- --coverage
env:
CI: true
- name: SonarQube Scan
continue-on-error: false
uses: sonarsource/sonarqube-scan-action@v5
env:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.projectKey=zowe_zlux-app-server
-Dsonar.organization=zowe
-Dsonar.branch.name=${{ github.ref_name }}
-Dsonar.sources=bin,defaults,lib
-Dsonar.test.inclusions=**/*.sh,**/*.js,**/*.json
-Dsonar.exclusions=**/node_modules/**,**/dist/**,**/build/**,**/*.d.ts
-Dsonar.javascript.lcov.reportPaths=webClient/coverage/lcov.info
-Dsonar.qualitygate.wait=true
-Dsonar.qualitygate.timeout=600