Update semver, micromatch, and lodash NPM modules in package-lock.json #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Scans | |
on: | |
pull_request: | |
push: | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
# https://github.com/SonarSource/sonarqube-scan-action | |
- name: SonarQube Scan | |
uses: SonarSource/sonarqube-scan-action@master | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
SONAR_TOKEN: ${{ secrets.sonar_token }} | |
SONAR_HOST_URL: ${{ secrets.sonar_host_url }} | |
- name: SonarQube Quality Gate check | |
uses: sonarsource/sonarqube-quality-gate-action@master | |
# Force to fail step after specific time | |
timeout-minutes: 5 | |
env: | |
SONAR_TOKEN: ${{ secrets.sonar_token }} | |
- name: Upload SonarQube Scan Report | |
uses: actions/upload-artifact@master | |
with: | |
name: sonar-scan-log | |
path: .scannerwork/report-task.txt | |