Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.

Dependency Updates

Dependency Updates #34

name: Dependency Updates
on:
schedule:
# Run weekly on Mondays at 9 AM UTC
- cron: '0 9 * * 1'
workflow_dispatch: # Allow manual triggering
jobs:
update-dependencies:
name: Update Dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
- name: Check for outdated packages
run: npm outdated || true
- name: Update dependencies
run: |
npm update
npm audit fix --force || true
- name: Run tests after update
run: |
npm ci
npm run lint
npm run build
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: update dependencies'
title: 'chore: automated dependency updates'
body: |
## Automated Dependency Updates
This PR contains automated dependency updates.
### Changes
- Updated npm dependencies to latest compatible versions
- Applied security fixes where available
### Testing
- ✅ Linting passed
- ✅ Build completed successfully
Please review the changes before merging.
branch: dependency-updates
delete-branch: true