Skip to content

Commit

Permalink
add workflow badge update
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed May 11, 2020
1 parent 0dca1c4 commit d40aeb4
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/badges.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: badges
# update README badges only if the README file changes
# or if the package.json file changes, or this file changes
on:
push:
branches:
- master
paths:
- README.md
- package.json
- .github/workflows/badges.yml

jobs:
build:
name: Badges
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎
uses: actions/checkout@v1

- name: Install dependencies 📦
uses: cypress-io/github-action@v1
with:
# just perform install
runTests: false

- name: Update version badges 🏷
run: yarn update-badge cypress @cypress/instrument-cra @cypress/code-coverage

# commit any changed files
# https://github.com/mikeal/publish-to-github-action
- name: Push any changes to repo 📤
uses: mikeal/publish-to-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d40aeb4

Please sign in to comment.