[Resolve Errors] [Review Warnings] Exceed error warning limit alert & counts read off the response body #1796
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: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
SBL_DEV_PORT: "8899" | |
SBL_OIDC_AUTHORITY: "http://localhost:8880/realms/regtech" | |
SBL_OIDC_CLIENT_ID: "regtech-client" | |
SBL_OIDC_REDIRECT_URI: "http://localhost:${SBL_DEV_PORT}/filing" | |
SBL_REGTECH_BASE_URL: "http://localhost:8881" | |
SBL_MAIL_BASE_URL: "http://localhost:8765" | |
SBL_FILING_BASE_URL: "http://localhost:8882" | |
SBL_LOGOUT_REDIRECT_URL: "" | |
SBL_VALIDATION_TIMEOUT_SECONDS: "1200" | |
jobs: | |
React: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: yarn | |
- name: Run React tests | |
run: yarn test:ci | |
Cypress: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: yarn | |
- name: Run React tests | |
run: yarn test:e2e:headless |