Skip to content

Commit

Permalink
Add update deps job
Browse files Browse the repository at this point in the history
  • Loading branch information
iBicha committed Nov 14, 2023
1 parent d7e5732 commit 89ea45e
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update Dependencies

on:
schedule:
- cron: "0 0 * * 6"
workflow_dispatch: {}

jobs:
update_deps:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Update dependencies
run: npm run update-deps

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: "Update dependencies"
branch: shore/update-deps
title: "Update dependencies"
body: "Update dependencies"

0 comments on commit 89ea45e

Please sign in to comment.