Update Dependencies #29
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: | |
schedule: | |
- cron: "0 0 * * 6" | |
workflow_dispatch: {} | |
jobs: | |
update_deps: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Use Node.js 20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Update dependencies | |
run: npm run update-deps | |
- name: Install dependencies | |
run: npm i | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: "update dependencies" | |
branch: chore/update-deps | |
title: "[chore] update dependencies" | |
body: "Weekly pull request to update dependencies." | |
token: ${{ secrets.GH_TOKEN }} |