Skip to content

Update Dependencies #14

Update Dependencies

Update Dependencies #14

Workflow file for this run

name: Update Dependencies
on:
schedule:
# Run weekly on Sundays at 2 AM UTC
- cron: '0 2 * * 0'
workflow_dispatch:
jobs:
update-dependencies:
name: Update Dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Update dependencies
run: |
npm update
npm audit fix --force
- name: Run tests
run: npm run test:all
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
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:
- Updated npm packages to latest compatible versions
- Applied security fixes via `npm audit fix`
- All tests passing ✅
Please review the changes before merging.
branch: chore/dependency-updates
delete-branch: true