Skip to content

Commit

Permalink
Display outdated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
hrishikesh-mahajan committed Aug 16, 2024
1 parent 5ca3a1a commit 2f60469
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/auto-update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ jobs:
with:
version: "latest" # Specify the pnpm version you want

- name: Install pnpm dependencies
run: pnpm install --no-frozen-lockfile

- name: Get outdated dependencies
id: outdated
run: |
pnpm outdated --long > update.log || true
cat update.log
- name: Install Bun dependencies
run: bun install -y

Expand All @@ -44,7 +53,10 @@ jobs:
uses: peter-evans/create-pull-request@v6
with:
title: "Update dependencies"
body: "This PR updates dependencies to their latest versions."
body: |
This PR updates dependencies to their latest versions.
${{ steps.outdated.outputs.stdout }}
branch: "update-deps"
commit-message: "chore(deps): update dependencies"
commit-message: "chore(deps): update dependencies\n\n$(cat update.log)"
base: "main" # Specify your default branch

0 comments on commit 2f60469

Please sign in to comment.