Skip to content

Update Dependencies

Update Dependencies #6

Workflow file for this run

name: Update Dependencies
on:
schedule:
- cron: '0 0 * * 1' # every Monday
workflow_dispatch: # Manuel trigger
jobs:
update-deps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Update dependencies
run: |
npm outdated
npm update
npm audit fix
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore(deps): update dependencies'
title: '⬆️ Update dependencies'
body: |
Automated dependency updates.
- Dependency updates
- Security patches
- npm audit fixes
branch: dependency-updates
base: master