fix: fix custom claims user role mapping either flat or object userRole #791
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sonarcloud | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
sonarcloud: | |
runs-on: ubuntu-latest | |
environment: action-test | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
steps: | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "21.2.0" | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: npm install | |
- name: Test E2E | |
run: npm run test:e2e | |
- name: Test and coverage | |
run: npm run test:cov | |
- name: SonarCloud Scan | |
uses: sonarsource/sonarcloud-github-action@master |