From 7ff15a34fc2cf270a701e2b01621574bd844316c Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Fri, 27 Feb 2026 15:32:37 +0100 Subject: [PATCH] ci: add reusable core smoke tests composite action --- .gitea/actions/core-smoke-tests/action.yml | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .gitea/actions/core-smoke-tests/action.yml diff --git a/.gitea/actions/core-smoke-tests/action.yml b/.gitea/actions/core-smoke-tests/action.yml new file mode 100644 index 0000000..879a288 --- /dev/null +++ b/.gitea/actions/core-smoke-tests/action.yml @@ -0,0 +1,41 @@ +name: "Mintel Core Smoke Tests" +description: "Executes standard fast HTTP, API, and Locale validation checks." + +inputs: + TARGET_URL: + description: 'The deployed URL to test against' + required: true + GATEKEEPER_PASSWORD: + description: 'Gatekeeper bypass password' + required: true + UMAMI_API_ENDPOINT: + description: 'Umami Analytics Endpoint' + required: false + default: 'https://analytics.infra.mintel.me' + SENTRY_DSN: + description: 'Sentry / Glitchtip DSN' + required: false + +runs: + using: "composite" + steps: + - name: 🌐 Full Sitemap HTTP Validation + shell: bash + env: + NEXT_PUBLIC_BASE_URL: ${{ inputs.TARGET_URL }} + GATEKEEPER_PASSWORD: ${{ inputs.GATEKEEPER_PASSWORD }} + run: pnpm run check:http + + - name: 🌐 Locale & Language Switcher Validation + shell: bash + env: + NEXT_PUBLIC_BASE_URL: ${{ inputs.TARGET_URL }} + GATEKEEPER_PASSWORD: ${{ inputs.GATEKEEPER_PASSWORD }} + run: pnpm run check:locale + + - name: 🌐 External API Smoke Test (Umami & Sentry) + shell: bash + env: + UMAMI_API_ENDPOINT: ${{ inputs.UMAMI_API_ENDPOINT }} + SENTRY_DSN: ${{ inputs.SENTRY_DSN }} + run: pnpm run check:apis