Skip to content

feat(mobile/theme): Translation (#228) #189

feat(mobile/theme): Translation (#228)

feat(mobile/theme): Translation (#228) #189

Workflow file for this run

name: Sonarqube
on:
push:
branches:
- main
jobs:
sonarqube:
name: Sonarqube
runs-on: ubuntu-latest
permissions: read-all
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: "backend/back/yarn.lock"
- name: Install backend dependencies
working-directory: ./backend/back/
run: yarn install --frozen-lockfile
- name: Run backend tests with coverage
working-directory: ./backend/back/
run: yarn test:cov
- name: Run web cypress tests
uses: cypress-io/github-action@v5
env:
CYPRESS_HOST: ${{ secrets.CYPRESS_API_URL }}
with:
working-directory: ./frontend/web
build: yarn build
start: yarn start
wait-on: "http://localhost:3000"
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}