Skip to content

Commit 55cdfa5

Browse files
committed
cicd: Perform codecov submission after release version bump
1 parent a4e6d7e commit 55cdfa5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ jobs:
5252
- run: npm ci
5353
- name: test
5454
run: npm run test -- --coverage
55-
- name: Codecov
55+
- name: codecov
5656
uses: codecov/codecov-action@v2

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ jobs:
3434
id: test
3535
if: ${{ always() }}
3636
run: npm run test -- --coverage
37-
- name: Codecov
38-
if: steps.test.outcome == 'success'
39-
uses: codecov/codecov-action@v2
4037
- name: lint
4138
if: ${{ always() }}
4239
run: npm run lint
@@ -54,3 +51,6 @@ jobs:
5451
npm run release -- \
5552
${{ github.event.inputs.version }} \
5653
--ci
54+
- name: codecov # Perform after version publishing
55+
if: steps.test.outcome == 'success'
56+
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)