Skip to content

Commit 8bb9bb0

Browse files
committed
ci: fix dependabot bumps
Signed-off-by: Jakub Freisler <[email protected]>
1 parent 19602d2 commit 8bb9bb0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Install dependencies
3535
if: ${{ github.actor != 'dependabot[bot]' || github.ref == 'refs/heads/main' }}
3636
run: yarn --immutable
37+
- name: Reset yarn.lock (due to dependabot incompatibility with yarn 3)
38+
if: ${{ github.actor == 'dependabot[bot]' && github.ref != 'refs/heads/main' }}
39+
run: "git checkout HEAD~1 yarn.lock"
3740
- name: Install dependencies & update yarn.lock (dependabot)
3841
if: ${{ github.actor == 'dependabot[bot]' && github.ref != 'refs/heads/main' }}
3942
run: "yarn install && git stage yarn.lock && git commit -m 'chore: update yarn.lock' && git push"

0 commit comments

Comments
 (0)