Skip to content

Commit

Permalink
test commit pour lancer la ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Naorid committed May 23, 2023
1 parent 898622f commit d3455b9
Showing 1 changed file with 84 additions and 8 deletions.
92 changes: 84 additions & 8 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
---
name: Lighthouse
on:
push:
branches: [ main ]
branches:
- main
pull_request:
branches: [ main ]
branches:
- main
jobs:
lhci:
name: Lighthouse
environment: scalingo-recette
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 18.x ]
node-version:
- 18.x
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -22,12 +27,83 @@ jobs:
run: |
nohup npm run dev </dev/null &>/dev/null &
- name: Sleep for 5 seconds
run: sleep 5s
shell: bash
run: sleep 5s
shell: bash
- name: Install Lighthouse CI
run: npm install -g @lhci/[email protected]
run: npm install -g @lhci/[email protected]
- name: Run Lighthouse CI
run: lhci autorun
run: lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}

API_ADRESSE_BASE_URL: ${{ API_ADRESSE_BASE_URL }}
API_ADRESSE_MINIMUM_QUERY_LENGTH: ${{ API_ADRESSE_MINIMUM_QUERY_LENGTH }}
API_ENGAGEMENT_API_KEY_TOKEN: ${{ API_ENGAGEMENT_API_KEY_TOKEN }}
API_ENGAGEMENT_BASE_URL: ${{ API_ENGAGEMENT_BASE_URL }}
API_ETABLISSEMENTS_PUBLICS: ${{ API_ETABLISSEMENTS_PUBLICS }}
API_GEO_BASE_URL: ${{ API_GEO_BASE_URL }}
API_LES_ENTREPRISES_SENGAGENT_URL: ${{ API_LES_ENTREPRISES_SENGAGENT_URL }}
API_POLE_EMPLOI_FEATURE: ${{ API_POLE_EMPLOI_FEATURE }}
API_POLE_EMPLOI_OFFRES_URL: ${{ API_POLE_EMPLOI_OFFRES_URL }}
API_POLE_EMPLOI_REFERENTIEL_URL: ${{ API_POLE_EMPLOI_REFERENTIEL_URL }}
BUCKET_S3_URL: ${{ BUCKET_S3_URL }}
IS_REVIEW_APP: ${{ IS_REVIEW_APP }}
LOGEMENT_IMAGE_URL_LIST: ${{ LOGEMENT_IMAGE_URL_LIST }}
MAILER_SERVICE_ACTIVE: ${{ MAILER_SERVICE_ACTIVE }}
MAILER_SERVICE_REDIRECT_TO: ${{ MAILER_SERVICE_REDIRECT_TO }}
NEXT_PUBLIC_ALTERNANCE_LBA_FEATURE: ${{ NEXT_PUBLIC_ALTERNANCE_LBA_FEATURE }}
NEXT_PUBLIC_DEPOT_STAGE_FEATURE: ${{ NEXT_PUBLIC_DEPOT_STAGE_FEATURE }}
NEXT_PUBLIC_INDEX_ANNONCE_DE_LOGEMENT: ${{ NEXT_PUBLIC_INDEX_ANNONCE_DE_LOGEMENT }}
NEXT_PUBLIC_INDEX_OFFRE_DE_STAGE: ${{ NEXT_PUBLIC_INDEX_OFFRE_DE_STAGE }}
NEXT_PUBLIC_LOGEMENT_FEATURE: ${{ NEXT_PUBLIC_LOGEMENT_FEATURE }}
NEXT_PUBLIC_RECHERCHE_EVENEMENT_FEATURE: ${{ NEXT_PUBLIC_RECHERCHE_EVENEMENT_FEATURE }}
NEXT_PUBLIC_SENTRY_DSN: ${{ NEXT_PUBLIC_SENTRY_DSN }}
NEXT_PUBLIC_SENTRY_ENVIRONMENT: ${{ NEXT_PUBLIC_SENTRY_ENVIRONMENT }}
NEXT_PUBLIC_SENTRY_TRACES_SAMPLE_RATE: ${{ NEXT_PUBLIC_SENTRY_TRACES_SAMPLE_RATE }}
NEXT_PUBLIC_SENTRY_USER_AGENT_BLACKLIST: ${{ NEXT_PUBLIC_SENTRY_USER_AGENT_BLACKLIST }}
NEXT_PUBLIC_STAGE_SEARCH_ENGINE_API_KEY: ${{ NEXT_PUBLIC_STAGE_SEARCH_ENGINE_API_KEY }}
NEXT_PUBLIC_STAGE_SEARCH_ENGINE_BASE_URL: ${{ NEXT_PUBLIC_STAGE_SEARCH_ENGINE_BASE_URL }}
NEXT_TELEMETRY_DISABLED: ${{ NEXT_TELEMETRY_DISABLED }}
NODE_MODULES_CACHE: ${{ NODE_MODULES_CACHE }}
POLE_EMPLOI_CONNECT_CLIENT_ID: ${{ POLE_EMPLOI_CONNECT_CLIENT_ID }}
POLE_EMPLOI_CONNECT_CLIENT_SECRET: ${{ POLE_EMPLOI_CONNECT_CLIENT_SECRET }}
POLE_EMPLOI_CONNECT_SCOPE: ${{ POLE_EMPLOI_CONNECT_SCOPE }}
POLE_EMPLOI_CONNECT_URL: ${{ POLE_EMPLOI_CONNECT_URL }}
REDIS_DB: ${{ REDIS_DB }}
REDIS_HOST: ${{ REDIS_HOST }}
REDIS_PASSWORD: ${{ REDIS_PASSWORD }}
REDIS_PORT: ${{ REDIS_PORT }}
REDIS_URL: ${{ REDIS_URL }}
REDIS_USERNAME: ${{ REDIS_USERNAME }}
SCALINGO_REDIS_URL: ${{ SCALINGO_REDIS_URL }}
SENTRY_AUTH_TOKEN: ${{ SENTRY_AUTH_TOKEN }}
SENTRY_DSN: ${{ SENTRY_DSN }}
SENTRY_ENVIRONMENT: ${{ SENTRY_ENVIRONMENT }}
SENTRY_ORG: ${{ SENTRY_ORG }}
SENTRY_PROJECT: ${{ SENTRY_PROJECT }}
SENTRY_TRACES_SAMPLE_RATE: ${{ SENTRY_TRACES_SAMPLE_RATE }}
SENTRY_URL: ${{ SENTRY_URL }}
SENTRY_USER_AGENT_BLACKLIST: ${{ SENTRY_USER_AGENT_BLACKLIST }}
STAGE_CONTENT_MANAGER_BASE_URL: ${{ STAGE_CONTENT_MANAGER_BASE_URL }}
STRAPI_ANNONCE_DE_LOGEMENT_ENDPOINT: ${{ STRAPI_ANNONCE_DE_LOGEMENT_ENDPOINT }}
STRAPI_AUTH: ${{ STRAPI_AUTH }}
STRAPI_BASE_URL: ${{ STRAPI_BASE_URL }}
STRAPI_MEDIA_URL: ${{ STRAPI_MEDIA_URL }}
STRAPI_OFFRE_DE_STAGE_ENDPOINT: ${{ STRAPI_OFFRE_DE_STAGE_ENDPOINT }}
STRAPI_OFFRE_DE_STAGE_DEPOT_ENDPOINT: ${{ STRAPI_OFFRE_DE_STAGE_DEPOT_ENDPOINT }}
STRAPI_TOKEN_API: ${{ STRAPI_TOKEN_API }}
STRAPI_URL_API: ${{ STRAPI_URL_API }}
TIPIMAIL_API_BASE_URL: ${{ TIPIMAIL_API_BASE_URL }}
TIPIMAIL_API_KEY: ${{ TIPIMAIL_API_KEY }}
TIPIMAIL_API_USER: ${{ TIPIMAIL_API_USER }}
API_LA_BONNE_ALTERNANCE_URL: ${{ API_LA_BONNE_ALTERNANCE_URL }}
API_LA_BONNE_ALTERNANCE_CALLER: ${{ API_LA_BONNE_ALTERNANCE_CALLER }}
NEXT_PUBLIC_API_ADRESSE_MINIMUM_QUERY_LENGTH: ${{ NEXT_PUBLIC_API_ADRESSE_MINIMUM_QUERY_LENGTH }}
NEXT_PUBLIC_DEPOT_STAGE_DESCRIPTION_MIN_LENGTH_ACTIVE: ${{ NEXT_PUBLIC_DEPOT_STAGE_DESCRIPTION_MIN_LENGTH_ACTIVE }}
NEXT_PUBLIC_FORMATION_LBA_FEATURE: ${{ NEXT_PUBLIC_FORMATION_LBA_FEATURE }}
NEXT_PUBLIC_LA_BONNE_ALTERNANCE_URL: ${{ NEXT_PUBLIC_LA_BONNE_ALTERNANCE_URL }}
API_TRAJECTOIRES_PRO_URL: ${{ API_TRAJECTOIRES_PRO_URL }}
API_TRAJECTOIRES_PRO_TOKEN: ${{ API_TRAJECTOIRES_PRO_TOKEN }}
NEXT_PUBLIC_CAMPAGNE_APPRENTISSAGE_FEATURE: ${{ NEXT_PUBLIC_CAMPAGNE_APPRENTISSAGE_FEATURE }}
NEXT_PUBLIC_FAQ_FEATURE: ${{ NEXT_PUBLIC_FAQ_FEATURE }}
NEXT_PUBLIC_SENTRY_LOG_LEVEL: ${{ NEXT_PUBLIC_SENTRY_LOG_LEVEL }}
NEXT_PUBLIC_JOB_ETE_FEATURE: ${{ NEXT_PUBLIC_JOB_ETE_FEATURE }}

0 comments on commit d3455b9

Please sign in to comment.