Skip to content

fix: fix custom claims user role mapping either flat or object userRole #791

fix: fix custom claims user role mapping either flat or object userRole

fix: fix custom claims user role mapping either flat or object userRole #791

Workflow file for this run

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