diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74254140..ea2f4f13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,7 +44,7 @@ jobs: with: node-version: 14.15 - run: npm ci - - run: MUTATION_FILES=$(git diff origin/main --name-only | grep -E 'src\/(.*).(ts|tsx)$' | paste -sd ",") npm run mutate:ci + - run: npm run mutate -- --mutate=$(git diff origin/main --name-only | grep -E 'src\/(.*).(ts|tsx)$' | paste -sd ",") build-docker-image: runs-on: ubuntu-latest diff --git a/package.json b/package.json index 03540103..30bb5390 100644 --- a/package.json +++ b/package.json @@ -17,8 +17,7 @@ "test": "node scripts/test.js --env=jsdom --colors", "test:ci": "npm run test -- --coverage --coverageReporters=text --coverageReporters=text-summary --coverageReporters=clover", "test:pretty": "npm run test -- --coverage --coverageReporters=text --coverageReporters=text-summary --coverageReporters=html", - "mutate": "./node_modules/.bin/stryker run --concurrency 4", - "mutate:ci": "npm run mutate -- --mutate=$MUTATION_FILES" + "mutate": "./node_modules/.bin/stryker run --concurrency 4" }, "dependencies": { "@fortawesome/fontawesome-free": "^5.15.1",