Skip to content

Update NPM Dependencies #11

Update NPM Dependencies

Update NPM Dependencies #11

Workflow file for this run

name: Update NPM Dependencies
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: latest
- name: Install npm-check-updates
run: npm install -g npm-check-updates
- name: Update dependencies
run: ncu -u
- name: Install updated dependencies
run: npm install
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update dependencies
title: '[Automated] Update NPM dependencies'
body: 'This is an auto-generated PR with dependency updates.'
branch: 'update-dependencies-${{ github.run_number }}'
delete-branch: true