Skip to content

Commit

Permalink
ci: Apply yarn-deduplicate to dependabot tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaminyam committed Nov 20, 2023
1 parent 9eadf2d commit db7b780
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,13 @@ jobs:
- run: yarn --cwd ui test
- run: yarn --cwd ui lint
- run: yarn --cwd ui deduplicate
- if: github.actor == 'dependabot[bot]'
run: |
git config --global user.name 'dependabot[bot]'
git config --global user.email 'dependabot[bot]@users.noreply.github.com'
git add ui/yarn.lock
git commit -m 'chore: update yarn.lock'
git push
- run: git diff --exit-code
# check to see if it'll start (but not if it'll render)
- run: yarn --cwd ui start &
Expand Down

0 comments on commit db7b780

Please sign in to comment.