Skip to content

Merge pull request #29 from alma-cdk/fix/docs-update #12

Merge pull request #29 from alma-cdk/fix/docs-update

Merge pull request #29 from alma-cdk/fix/docs-update #12

# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: sonarcloud-report
on:
push:
branches:
- main
- beta
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
sonarcloud-report:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}