Skip to content

Commit 03924fb

Browse files
committed
chore: merge release & codecov step
1 parent ec4d2d9 commit 03924fb

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,30 +51,16 @@ jobs:
5151
if: steps.release.outputs.releases_created == 'true'
5252
run: npx workspaces-publish
5353

54-
coverage:
55-
name: Coverage
56-
needs: [release]
57-
runs-on: ubuntu-latest
58-
if: ${{ github.ref_name == 'master' }}
59-
60-
steps:
61-
- name: Checkout
62-
uses: actions/checkout@v6
63-
64-
- name: Install
65-
uses: ./.github/actions/install
66-
with:
67-
node-version: ${{ env.PRIMARY_NODE_VERSION }}
68-
69-
- name: Build
70-
uses: ./.github/actions/build
71-
7254
- name: Coverage
55+
if: steps.release.outputs.releases_created == 'true'
7356
run: |
7457
npm run test:coverage
7558
7659
- name: Upload report
60+
if: steps.release.outputs.releases_created == 'true'
7761
uses: codecov/codecov-action@v4.1.1
7862
with:
7963
token: ${{ secrets.codecov }}
8064
directory: ./coverage/
65+
66+

0 commit comments

Comments
 (0)