Update Snapshot packages #48
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: Update Snapshot packages | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 0 10 * * 1 | |
jobs: | |
update-dep: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
- name: Update snapshot.js | |
run: | | |
yarn upgrade @snapshot-labs/snapshot.js --latest | |
- name: Update lock.js | |
run: | | |
yarn upgrade @snapshot-labs/lock --latest | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Update Snapshot packages | |
title: Update Snapshot packages | |
body: | | |
- Updates from snapshot.js or lock packages | |
Auto-generated by Github Actions | |
branch: update-snapshot-packages |