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

0 comments on commit 6e9a931

Please sign in to comment.