Skip to content

Commit 2fa0c5a

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 3fbc5c3 + 753ab17 commit 2fa0c5a

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/npm-package.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,24 @@ jobs:
2323
run: npx github-actions-ctrf ctrf/ctrf-report.json
2424
if: success() || failure()
2525

26-
- uses: actions/upload-artifact@v4
26+
- name: Upload Coverage Results
27+
run: |
28+
git config --global user.name "GitHub Actions"
29+
git config --global user.email "[email protected]"
30+
31+
- name: Add coverage directory
32+
run: |
33+
git add coverage
34+
git status
35+
36+
- name: Commit changes
37+
run: git commit -m "Add coverage report directory" || echo "No changes to commit"
38+
39+
- name: Push changes
40+
uses: ad-m/[email protected]
2741
with:
28-
name: coverage
29-
path: coverage
42+
github_token: ${{ secrets.GITHUB_TOKEN }}
43+
branch: main
3044

3145
publish-npm:
3246
needs: build

0 commit comments

Comments
 (0)