Skip to content

↗️ [patch](deps): bump the sentry group with 2 updates #3120

↗️ [patch](deps): bump the sentry group with 2 updates

↗️ [patch](deps): bump the sentry group with 2 updates #3120

Workflow file for this run

#
name: 🚥 E2E
# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
cancel-in-progress: true
on:
push:
# pull_request:
workflow_dispatch:
jobs:
e2e:
runs-on: ubuntu-latest
defaults:
run:
working-directory: "e2e"
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 #v4.4.0
with:
node-version: "node"
- name: Create mocked services
run: docker compose up --build --detach
working-directory: "."
- name: 🌭 Install bun
uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2
- run: bun install --frozen-lockfile
working-directory: "."
- name: Wait for mocked services to be ready
run: |
docker compose ps
echo "Fake https://auth.agentconnect.gouv.fr"
curl -sSf -XGET http://127.0.0.1:6100/readyz
echo
echo "Fake https://entreprise.api.gouv.fr ready"
curl -sSf -XGET http://127.0.0.1:6200/readyz
echo
echo "Fake https://app.moncomptepro.beta.gouv.fr ready"
curl -sSf -XGET http://127.0.0.1:6300/readyz
working-directory: "."
- name: cypress-io/github-action needs package-lock.json
run: |
touch package-lock.json
- name: Cypress run
uses: cypress-io/github-action@be1bab96b388bbd9ce3887e397d373c8557e15af # v6.9.2
env:
CONSOLA_LEVEL: "2"
DEPLOY_ENV: "production"
NODE_ENV: "development"
with:
build: bun run build
install-command: bun install --frozen-lockfile
spec: features/${{ matrix.e2e_test }}
start: bun run start
working-directory: e2e
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: failure()
with:
compression-level: 9
name: cypress-${{ matrix.e2e_test }}-screenshots
path: e2e/cypress/screenshots
spec: features/${{ matrix.e2e_test }}
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
if: failure()
with:
compression-level: 9
name: cypress-${{ matrix.e2e_test }}-videos
path: e2e/cypress/videos
strategy:
matrix:
e2e_test:
- auth
- moderations
- organizations
- users