We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 256908a commit 753ab17Copy full SHA for 753ab17
.github/workflows/npm-package.yml
@@ -23,10 +23,24 @@ jobs:
23
run: npx github-actions-ctrf ctrf/ctrf-report.json
24
if: success() || failure()
25
26
- - uses: actions/upload-artifact@v4
+ - 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
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]
41
with:
- name: coverage
- path: coverage
42
+ github_token: ${{ secrets.GITHUB_TOKEN }}
43
+ branch: main
44
45
publish-npm:
46
needs: build
0 commit comments