feat(admin): updated wording of first paragraph of Add certification … #5337
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: Cypress tests | |
on: [push] | |
env: | |
FRAMER_WEBSITE_URL: https://reva.incubateur.net | |
REACT_APP_API_GRAPHQL: https://reva.incubateur.net/api/graphql | |
REACT_APP_KEYCLOAK_REALM: reva-app | |
REACT_APP_KEYCLOAK_URL: https://auth.reva.incubateur.net/ | |
REACT_APP_KEYCLOAK_CLIENT_ID: reva-app | |
# On la definie uniquement pour que le serveur start... | |
DATABASE_URL: postgresql://reva:password@localhost:5444/reva?schema=public | |
NEXT_PUBLIC_WEBSITE_API_GRAPHQL: https://reva.incubateur.net/api/graphql | |
NEXT_PUBLIC_FEATURE_CANDIDATE_ORIENTATION: true | |
NEXT_PUBLIC_WEBSITE_STRAPI_BASE_URL: "https://strapi.vae.gouv.fr" | |
NEXT_PUBLIC_KEYCLOAK_REALM: reva | |
NEXT_PUBLIC_KEYCLOAK_URL: https://auth.reva.incubateur.net/ | |
NEXT_PUBLIC_KEYCLOAK_CLIENT_ID: reva-admin | |
NEXT_PUBLIC_APP_CANDIDAT_KEYCLOAK_CLIENT_ID: reva-app | |
NEXT_PUBLIC_APP_CANDIDAT_KEYCLOAK_REALM: reva-app | |
NEXT_PUBLIC_APP_CANDIDAT_KEYCLOAK_URL: https://auth.reva.incubateur.net | |
jobs: | |
cypress-run-reva-website: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: "npm" | |
- run: cd packages/reva-website && npm install | |
- run: cd packages/reva-website && NODE_ENV=production npm run test:ci | |
cypress-run-reva-admin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
- run: cd packages/reva-admin-react && npm install && npm run build | |
- run: cd packages/reva-admin-react && NODE_ENV=production npm run test:ci | |
cypress-run-reva-candidate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
- run: cd packages/reva-candidate && npm install && npm run build | |
- run: cd packages/reva-candidate && NODE_ENV=production npm run test:ci |