Skip to content

Commit

Permalink
Create upgrade-npm-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomesbr authored Feb 21, 2024
1 parent 870d99a commit 131845a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/upgrade-npm-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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: 'build-deps-upgrade-npm-packages-automated'
commit-message: 'build(deps): upgrade NPM packages (automated)'

0 comments on commit 131845a

Please sign in to comment.