Skip to content

Merge branch 'dev' into dependabot/npm_and_yarn/adobe/css-tools-4.3.2 #757

Merge branch 'dev' into dependabot/npm_and_yarn/adobe/css-tools-4.3.2

Merge branch 'dev' into dependabot/npm_and_yarn/adobe/css-tools-4.3.2 #757

Workflow file for this run

name: 👀 Review
on:
push:
branches:
- "renovate/**"
- "dependabot/**"
concurrency:
cancel-in-progress: true
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.ref }}
jobs:
socialgouv:
name: "🇫🇷 SocialGouv"
uses: socialgouv/workflows/.github/workflows/use-ks-gh-with-env-review.yaml@v1
secrets: inherit
e2e:
name: End-to-end testing
runs-on: ubuntu-latest
needs: [socialgouv]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: Install dependencies
run: |
yarn install --immutable
- name: Env
id: env
uses: socialgouv/kontinuous/.github/actions/env@v1
- name: Set env
run: |
echo "SITE_URL=https://${{ steps.env.outputs.subdomain }}.ovh.fabrique.social.gouv.fr" >> $GITHUB_ENV
- name: Run test e2e
run: |
TEST_BASEURL=${{ env.SITE_URL }} TEST_MODE=light yarn test:e2e
- name: Archive generated screenshots
if: failure()
uses: actions/upload-artifact@v4
with:
name: e2e-screenshots
path: |
packages/code-du-travail-frontend/cypress/screenshots