Update dependencies #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update dependencies | |
on: | |
workflow_dispatch: # allow manual run | |
schedule: | |
- cron: "0 0 * * 0" # every sunday at midnight | |
jobs: | |
upgrade-deps: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: pnpm/[email protected] | |
with: | |
version: 7.17.1 | |
- name: Upgrade dependencies | |
run: | | |
pnpm upgrade | |
pnpm update | |
- name: Create PR | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
delete-branch: false | |
branch: "update-deps" | |
base: "master" | |
labels: | | |
dependencies | |
automated pr | |
reviewers: kamranahmedse | |
commit-message: "chore: update dependencies to latest" | |
title: "Upgrade dependencies to latest" | |
body: | | |
Updates all dependencies to latest versions. | |
Please review the changes and merge if everything looks good. |