Skip to content

chore(deps-dev): bump typescript from 6.0.3 to 7.0.2 #109

chore(deps-dev): bump typescript from 6.0.3 to 7.0.2

chore(deps-dev): bump typescript from 6.0.3 to 7.0.2 #109

Workflow file for this run

name: Check code quality
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
codecovAndSonarcloud:
runs-on: ubuntu-latest
steps:
- name: 1/6 | Checkout repo
uses: actions/checkout@v7
with:
# Disabling shallow clone is recommended for improving relevancy of reporting
fetch-depth: 0
- name: 2/6 | Setup Node environment
uses: actions/setup-node@v7
with:
node-version: 'latest'
- name: 3/6 | Install depedencies
run: npm ci
- name: 4/6 | Run unit tests suite
run: npm run test:coverage
- name: 5/6 | Run Codecov Uploader
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: NicolasOmar/react-key-generator
flags: unittests
fail_ci_if_error: true
verbose: true
- name: 6/6 | Run SonarCloud Scanner
uses: sonarsource/sonarqube-scan-action@v8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dproject.settings=configs/sonar-project.properties
-Dsonar.projectBaseDir=.