Skip to content

Commit 85e4e47

Browse files
Revert "Disable coverage in GH actions"
This reverts commit a9b52e0.
1 parent a9b52e0 commit 85e4e47

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,26 @@ jobs:
2626
- name: Test
2727
run: yarn lint && yarn test
2828

29-
# Coverage reporting disabled (coverage command removed due to glob@10 incompatibility).
3029
report-coverage:
31-
if: ${{ false }}
3230
runs-on: ubuntu-latest
3331
steps:
34-
- run: echo "Coverage reporting disabled"
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Setup node
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: 18.x
38+
cache: yarn
39+
- name: Yarn
40+
run: yarn
41+
- name: Test
42+
run: yarn coverage
43+
- name: Coveralls
44+
uses: coverallsapp/github-action@master
45+
with:
46+
github-token: ${{ secrets.GITHUB_TOKEN }}
47+
env:
48+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3549

3650
test-as-dependency:
3751
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)