Skip to content

Commit 946fcb9

Browse files
committed
ci: enable coverage reporting for builds on main
1 parent 5452d7d commit 946fcb9

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,26 @@ jobs:
3030
uses: JamesIves/github-pages-deploy-action@v4
3131
with:
3232
folder: dist/angular-intl-demo/browser
33-
# ToDo: investigate coverage reporting
34-
# report-coverage:
35-
# concurrency: ci-${{ github.ref }}
36-
# runs-on: ubuntu-latest
37-
# steps:
38-
# - name: Checkout
39-
# uses: actions/checkout@v4
40-
#
41-
# - uses: pnpm/action-setup@v4
42-
# name: Install pnpm
43-
# with:
44-
# run_install: false
45-
#
46-
# - name: install
47-
# run: pnpm install --frozen-lockfile
48-
#
49-
# - name: test
50-
# run: pnpm test
51-
#
52-
# - name: Upload coverage reports to Codecov
53-
# uses: codecov/codecov-action@v5
54-
# env:
55-
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
33+
34+
report-coverage:
35+
concurrency: ci-${{ github.ref }}
36+
runs-on: ubuntu-latest
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v4
40+
41+
- uses: pnpm/action-setup@v4
42+
name: Install pnpm
43+
with:
44+
run_install: false
45+
46+
- name: install
47+
run: pnpm install --frozen-lockfile
48+
49+
- name: test
50+
run: pnpm test
51+
52+
- name: Upload coverage reports to Codecov
53+
uses: codecov/codecov-action@v5
54+
env:
55+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)