chore(deps): bump axios from 1.13.6 to 1.14.0 in the npm-prod-deps gr… #646
This file contains hidden or 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: 'Unit Tests, Coverage & Sonar' | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ['master', 'develop'] | |
| pull_request: | |
| branches: ['master', 'develop'] | |
| types: ['opened', 'reopened', 'synchronize'] | |
| jobs: | |
| build: | |
| name: 'Unit Tests, Coverage & Sonar' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@fa2e9d605c4eeb9fcad4c99c224cee0c6c7f3594 # v2.16.0 | |
| with: | |
| egress-policy: audit | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0 | |
| with: | |
| node-version-file: '.nvmrc' | |
| cache: 'npm' | |
| - name: Execute unit tests | |
| env: | |
| HUSKY: 0 | |
| run: | | |
| npm ci | |
| npm run test:ci | |
| npm run check:lint:ci | |
| - name: Fix filesystem paths in generated reports | |
| run: | | |
| ./scripts/fix-reports-path-in-github-runner.sh | |
| - name: SonarQube Scan | |
| uses: SonarSource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9 # v7.0.0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| with: | |
| files: ./coverage/clover.xml |