Skip to content

Update dependencies

Update dependencies #3

name: "Update dependencies"
on:
schedule:
- cron: '0 0 1-7,14-20 * 4'
jobs:
updates:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Ruby and gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: install bundler
run: gem install bundler
- name: config unset deployment
run: bundle config unset deployment
- name: bundle update
run: bin/bundle update
- name: Setup Node
uses: actions/setup-node@v3
with:
cache: 'yarn'
- name: Upgrade Node modules
run: yarn upgrade
shell: bash
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: 'update-dependencies'
branch-suffix: timestamp
commit-message: 'Update depedencies'
title: 'Update depedencies'
base: main