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