Skip to content

feat: account detection based on environment #6

feat: account detection based on environment

feat: account detection based on environment #6

# ~~ 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:
- uses: actions/setup-node@v4
with: {}
- 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 }}