Skip to content

Commit 77cc5e9

Browse files
committed
ci: potential fix
1 parent e11510f commit 77cc5e9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,12 @@ jobs:
3535
- name: Run unit tests
3636
run: yarn test:cov
3737

38-
- name: Make .yarnrc.yml untracked before badge update
38+
- name: Reset .yarnrc.yml changes
3939
run: |
40-
git rm --cached .yarnrc.yml
41-
git update-index --assume-unchanged .yarnrc.yml
42-
40+
git config --global user.name "GitHub Actions"
41+
git config --global user.email "actions@github.com"
42+
git checkout HEAD -- .yarnrc.yml
43+
4344
- name: Update Coverage Badge
4445
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
4546
uses: we-cli/coverage-badge-action@main

0 commit comments

Comments
 (0)