Skip to content

feat: add support for PostgreSQL read replicas in OpenFGA configuration #2209

feat: add support for PostgreSQL read replicas in OpenFGA configuration

feat: add support for PostgreSQL read replicas in OpenFGA configuration #2209

Workflow file for this run

name: 'Run Checks: Lint, Audit and Build'
on:
pull_request:
branches:
- main
jobs:
build:
name: Run Checks
runs-on: ubuntu-latest
steps:
# Check out the repository
- name: Cached LFS checkout
uses: nschloe/action-cached-lfs-checkout@f46300cd8952454b9f0a21a3d133d4bd5684cfc2
- name: Set up node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- name: Install dependencies
run: npm ci
# Run Prettier
- name: Run Prettier
run: npm run format:check
# Run ESLint
- name: Run eslint
run: npm run lint
- name: Audit dependencies
run: npm audit
# Audit will fail until update-notifier is updated by Docusaurus
continue-on-error: true
- name: Check types
run: npm run typecheck
- name: Check for circular dependencies
run: npx madge --circular . --extensions ts,js,jsx,tsx
- name: Build with npm
run: npm run build
# Checking to ensure markdown link is not broken
markdown-link-check-md:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: tcort/github-action-markdown-link-check@a800ad5f1c35bf61987946fd31c15726a1c9f2ba # v1.1.0
with:
file-extension: '.md'
use-quiet-mode: 'yes'
config-file: '.github/workflows/markdown.links.config.json'
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: tcort/github-action-markdown-link-check@a800ad5f1c35bf61987946fd31c15726a1c9f2ba # v1.1.0
with:
file-extension: '.mdx'
use-quiet-mode: 'yes'
config-file: '.github/workflows/markdown.links.config.json'