Skip to content

Commit f3a9552

Browse files
authored
Update npm-package.yml
1 parent 6af1295 commit f3a9552

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

.github/workflows/npm-package.yml

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

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
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
3535

36-
- name: Commit changes
37-
run: git commit -m "Add coverage report directory" || echo "No changes to commit"
36+
# - name: Commit changes
37+
# run: git commit -m "Add coverage report directory" || echo "No changes to commit"
3838

39-
- name: Push changes
40-
uses: ad-m/[email protected]
41-
with:
42-
github_token: ${{ secrets.GITHUB_TOKEN }}
43-
branch: main
39+
# - name: Push changes
40+
# uses: ad-m/[email protected]
41+
# with:
42+
# github_token: ${{ secrets.GITHUB_TOKEN }}
43+
# branch: main
4444

45-
- name: Upload GitHub Pages artifact
46-
uses: actions/upload-pages-artifact@v3.0.1
45+
- name: Deploy to GitHub Pages
46+
uses: peaceiris/actions-gh-pages@v3
4747
with:
48-
name: coverage/lcov-report
48+
github_token: ${{ secrets.GITHUB_TOKEN }}
49+
publish_dir: coverage/lcov-report
4950

5051
publish-npm:
5152
needs: build

0 commit comments

Comments
 (0)