Skip to content

Upgrade NPM packages #122

Upgrade NPM packages

Upgrade NPM packages #122

name: Upgrade NPM packages
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0"
jobs:
upgrade-packages:
name: Upgrade packages
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Set up Node.js ⚙️
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: Upgrade packages 🔀
run: npm update
- name: Commit and create PR 🔀
uses: peter-evans/create-pull-request@v6
with:
title: 'Upgrade NPM packages (automated)'
branch: 'build-deps-upgrade-npm-packages-automated'
commit-message: 'Upgrade NPM packages'
labels: dependencies,javascript
delete-branch: true
committer: BM Bot <noreply@bmedia.io>