Skip to content

Commit

Permalink
ci: Apply yarn-deduplicate to dependabot tasks (argoproj#12234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaminyam committed Jan 18, 2024
1 parent df79ce4 commit 568941e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,14 @@ jobs:
- run: yarn --cwd ui test
- run: yarn --cwd ui lint
- run: yarn --cwd ui deduplicate
# Deduplicate UI deps for dependabot PRs
- if: github.actor == 'dependabot[bot]'
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add ui/yarn.lock
git commit -s -m 'chore: deduplicate 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 568941e

Please sign in to comment.