veza/.github/workflows/mutation-testing.yml
senke ce3b92a0c1 ci: fix duplicate env block in staging-validation workflow
Merge SSL env vars into existing env block instead of creating a
duplicate (YAML doesn't allow duplicate top-level keys).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:51:10 +02:00

40 lines
1,009 B
YAML

name: Mutation Testing
on:
schedule:
- cron: "0 3 * * 0" # Weekly on Sunday at 3am UTC
workflow_dispatch:
permissions:
contents: read
env:
GIT_SSL_NO_VERIFY: "true"
NODE_TLS_REJECT_UNAUTHORIZED: "0"
jobs:
mutation:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: apps/web/package-lock.json
- name: Install dependencies
run: cd apps/web && npm ci
- name: Run Stryker mutation testing
run: cd apps/web && npx stryker run
- name: Upload mutation report
if: always()
uses: actions/upload-artifact@v4
with:
name: mutation-report
path: apps/web/reports/mutation/
retention-days: 30