Skip to content

feat(auth): read saml auth enabled flag from portal context #1068

feat(auth): read saml auth enabled flag from portal context

feat(auth): read saml auth enabled flag from portal context #1068

Workflow file for this run

name: PR flow
on:
pull_request:
jobs:
code-quality:
name: Lint and type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check unpinned versions
run: ./.github/scripts/pin-version
- name: node modules cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ hashFiles('.nvmrc', 'yarn.lock') }}
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
- name: Check TypeScript types
run: yarn typecheck
tests:
name: Tests
runs-on: ubuntu-latest
needs: code-quality
strategy:
fail-fast: false
matrix:
containers: [1, 2, 3]
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Copy .env.example
run: cp .env.example .env
- name: Build
run: yarn build
# run 3 copies of the current job in parallel
- name: Run split Cypress tests 🧪
uses: cypress-io/github-action@v5
with:
start: node cypress.server.mjs
browser: chrome
# pass the machine index and the total number
env:
SPLIT: ${{ strategy.job-total }}
SPLIT_INDEX: ${{ strategy.job-index }}