Skip to content
This repository was archived by the owner on Feb 28, 2023. It is now read-only.

Commit 1ee93dc

Browse files
committed
add cypress version badge
1 parent a454ac0 commit 1ee93dc

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

.github/workflows/badges.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: badges
2+
on:
3+
push:
4+
# update README badge only if the README file changes
5+
# or if the package.json file changes, or this file changes
6+
branches:
7+
- master
8+
paths:
9+
- README.md
10+
- package.json
11+
- .github/workflows/badges.yml
12+
schedule:
13+
# update badges every night
14+
# because we have a few badges that are linked
15+
# to the external repositories
16+
- cron: '0 3 * * *'
17+
18+
jobs:
19+
badges:
20+
name: Badges
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout 🛎
24+
uses: actions/checkout@v2
25+
26+
- name: Update version badges 🏷
27+
run: npx -p dependency-version-badge update-badge cypress
28+
29+
- name: Commit any changed files 💾
30+
uses: stefanzweifel/git-auto-commit-action@v4
31+
with:
32+
commit_message: Updated badges
33+
branch: master
34+
file_pattern: README.md

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# testing-workshop-cypress [![CircleCI][ci-badge]][ci-url] [![Build status](https://ci.appveyor.com/api/projects/status/lflec2iwjc8gbhki/branch/master?svg=true)](https://ci.appveyor.com/project/cypress-io/testing-workshop-cypress/branch/master) [![GH Actions](https://github.com/cypress-io/testing-workshop-cypress/workflows/tests/badge.svg?branch=master)](https://github.com/cypress-io/testing-workshop-cypress/actions) [![renovate-app badge][renovate-badge]][renovate-app]
1+
# testing-workshop-cypress
2+
![cypress version](https://img.shields.io/badge/cypress-6.5.0-brightgreen) [![CircleCI][ci-badge]][ci-url] [![Build status](https://ci.appveyor.com/api/projects/status/lflec2iwjc8gbhki/branch/master?svg=true)](https://ci.appveyor.com/project/cypress-io/testing-workshop-cypress/branch/master) [![GH Actions](https://github.com/cypress-io/testing-workshop-cypress/workflows/tests/badge.svg?branch=master)](https://github.com/cypress-io/testing-workshop-cypress/actions) [![renovate-app badge][renovate-badge]][renovate-app]
23

34
> A full day testing workshop complete with application, exercise tests and speaker slides for [Cypress.io](https://www.cypress.io/)
45

0 commit comments

Comments
 (0)