Upgrade NPM packages #119
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v2 | |
- name: Set up Node.js ⚙️ | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16.x' | |
- name: Upgrade packages 🔀 | |
run: npm update | |
- name: Commit and create PR 🔀 | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
title: 'build(deps): Upgrade NPM packages (automated)' | |
branch: 'npm-update' | |
commit-message: 'build(deps): upgrade NPM packages (automated)' |