Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(workflow): consolidate jellyfish dependencies bumping #1216

Merged
merged 1 commit into from Jun 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
67 changes: 0 additions & 67 deletions .github/workflows/defichain-dependencies.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/jellyfish-dependencies.yml
@@ -0,0 +1,37 @@
name: Jellyfish Dependencies

on:
workflow_dispatch:
schedule:
- cron: '0 * * * *'

jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
- uses: actions/setup-node@17f8bd926464a1afa4c6a11669539e9c1ba77048
with:
node-version: 16

- name: Upgrade dependencies
run: |
npx npm-check-updates -l m -u --deep --target newest --pre -f "/defichain|^@defichain\/.+/" \
| grep -q 'Run npm install to install new versions' && \
npm i

- name: Create Pull Request
uses: peter-evans/create-pull-request@f094b77505fb89581e68a1163fbd2fffece39da1
with:
token: ${{ secrets.DEFICHAIN_BOT_GITHUB_TOKEN }}
labels: kind/dependencies
committer: DeFiChain Bot <github-bot@defichain.com>
author: DeFiChain Bot <github-bot@defichain.com>
title: "bump(deps): @defichain/jellyfish dependencies"
commit-message: Bump @defichain/jellyfish dependencies
body: |
#### What kind of PR is this?:
/kind dependencies
#### What this PR does / why we need it:
Bump `@defichain/jellyfish` dependencies to the latest release.
branch: defichain-bot/bump-jellyfish-deps