Skip to content

Commit 1263a67

Browse files
authored
fix(ci): fixed mutator flow and README (#60)
1 parent 9f2b98d commit 1263a67

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/mutator.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ jobs:
2727
- run: sudo ln -fs /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
2828
- run: yarn
2929
- run: yarn test-ci
30+
- name: Extract branch name
31+
shell: bash
32+
run: |
33+
echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \
34+
>> $GITHUB_OUTPUT
35+
id: extract_branch
3036
- name: Mutator run mutator
3137
run: |
3238
yarn stryker-mutate --reporters dashboard \
33-
--dashboard.version ${{env.GITHUB_REF_NAME}}
39+
--dashboard.version ${{ steps.extract_branch.outputs.branch }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Conventional Changelog](https://img.shields.io/badge/changelog-conventional-brightgreen.svg)](http://conventional-changelog.github.io)
77
[![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg)](https://github.com/conventional-changelog/standard-version)
88
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2Fclaytonsilva%2Fnodejs-hexagonal-boilerplate%2Fmain)](https://dashboard.stryker-mutator.io/reports/github.com/claytonsilva/nodejs-hexagonal-boilerplate/main)
9-
![gh_actions](https://github.com/claytonsilva/nodejs-hexagonal-boilerplate/actions/workflows/main.yml/badge.svg)
9+
![gh_actions](https://github.com/claytonsilva/nodejs-hexagonal-boilerplate/actions/workflows/main.yaml/badge.svg)
1010

1111
## Inspiração
1212

0 commit comments

Comments
 (0)