chore(deps): update dependency knip to v5.15.0 #1738
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: Mutation Test | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
paths: | |
- "packages/**/src/**/*" | |
- "packages/**/tests/**/*" | |
- ".github/workflows/mutation.yml" | |
env: | |
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
mutation: | |
name: Mutation tests package ${{matrix.package}} | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
strategy: | |
fail-fast: false | |
matrix: | |
package: | |
[ | |
"core", | |
"diff", | |
"docusaurus", | |
"printer-legacy", | |
"utils", | |
"helpers", | |
"logger", | |
"graphql", | |
] | |
steps: | |
- name: Checkout Code Base | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
cache: "npm" | |
- name: Install modules | |
run: npm ci | |
- name: Run Mutations Tests | |
run: npm run stryker -w @graphql-markdown/${{matrix.package}} -- --allowEmpty --reporters dashboard --dashboard.module ${{matrix.package}} |