Skip to content

CONFIGURING FOR HOSITNG #25

CONFIGURING FOR HOSITNG

CONFIGURING FOR HOSITNG #25

Workflow file for this run

name: SonarCloud
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.projectKey=your_project_key
-Dsonar.organization=your_organization_key