Skip to content

Commit 06d4eb8

Browse files
build: report correct branch name to Codecov
1 parent d192d60 commit 06d4eb8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,11 @@ jobs:
2323
uses: actions/setup-node@v1
2424
with:
2525
node-version: ${{ matrix.node-version }}
26-
- run: node --version
27-
name: Check Node.js version
2826
- run: npm ci --ignore-scripts
2927
- run: npm run test:ci
3028
- run: npm install codecov -g
3129
if: ${{ matrix.node-version == '14.x' }}
32-
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }}
30+
- run: codecov -f ./coverage/clover.xml -t ${{ secrets.CODECOV_TOKEN }} --commit=$GITHUB_SHA --branch=${GITHUB_REF##*/}
3331
if: ${{ matrix.node-version == '14.x' }}
3432
build:
3533
name: Build

0 commit comments

Comments
 (0)