Skip to content

feat: Include venue image in the landing page #2342

feat: Include venue image in the landing page

feat: Include venue image in the landing page #2342

Workflow file for this run

name: sonar analysis
on:
push:
branches: ["main"]
pull_request:
types: [opened, synchronize, reopened]
jobs:
sonarcloud:
name: SonarCloud
runs-on: ubuntu-latest
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
steps:
# Checkout
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
# Load cache modules
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
# Run tests with coverage
- name: Use Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: run tests with coverage
run: |
npm ci
npm run test-coverage
# Send report to sonar
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v4.2.1
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}