↗️ [patch](deps): bump tailwindcss #2291
Workflow file for this run
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: 🚥 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@39370e3970a6d050c480ffad4ff0ed4d3fdee5af #v4.1.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@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # 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@f1f0912d392f0d06bdd01fb9ebe3b3299e5806fb # v6.7.7 | |
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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
if: failure() | |
with: | |
compression-level: 9 | |
name: cypress-${{ matrix.e2e_test }}-videos | |
path: e2e/cypress/videos | |
strategy: | |
matrix: | |
e2e_test: | |
- auth | |
- moderations | |
- organizations | |
- users |