diff --git a/.github/workflows/sonarqube.yml b/.github/workflows/sonarqube.yml new file mode 100644 index 0000000..3980790 --- /dev/null +++ b/.github/workflows/sonarqube.yml @@ -0,0 +1,21 @@ +name: SonarQube + +on: + push: + branches: + - develop + pull_request: + types: [opened, synchronize, reopened] + +jobs: + build: + name: Scan + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis + - uses: sonarsource/sonarqube-scan-action@master + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} diff --git a/package-lock.json b/package-lock.json index 39a77f6..8687c7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@processmaker/vue-form-elements", - "version": "0.49.3", + "version": "0.49.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@processmaker/vue-form-elements", - "version": "0.49.3", + "version": "0.49.4", "license": "MIT", "dependencies": { "@chantouchsek/validatorjs": "^1.2.3", diff --git a/package.json b/package.json index 019ec5b..80ac03f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@processmaker/vue-form-elements", - "version": "0.49.3", + "version": "0.49.4", "description": "Reusable VueJS Based Form Elements styled with Bootstrap 4", "scripts": { "dev": "vite", diff --git a/sonar-project.properties b/sonar-project.properties new file mode 100644 index 0000000..4add868 --- /dev/null +++ b/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectKey=ProcessMaker_vue-form-elements_AYq6DI0RxYvY_isvKwQi