fix: switch OIDC security storage to local storage so auth state is shared across new tab #1027
This file contains hidden or 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: Prettier & Lint | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths-ignore: | |
| # Ignore workflow changes | |
| - '.github/**' | |
| pull_request: | |
| branches: [ main ] | |
| workflow_call: | |
| workflow_dispatch: | |
| jobs: | |
| format-ui-2: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden the runner (Audit all outbound calls) | |
| uses: step-security/harden-runner@8d3c67de8e2fe68ef647c8db1e6a09f647780f40 # v2.19.0 | |
| with: | |
| egress-policy: audit | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| - uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3.9.1 | |
| with: | |
| node-version: 20 | |
| cache: "npm" | |
| cache-dependency-path: "ui-2/package-lock.json" | |
| - name: Install dependencies | |
| working-directory: ui-2 | |
| run: npm ci | |
| - name: Run formatter | |
| working-directory: ui-2 | |
| run: npm run format:cli | |