From ee9510d00b10b307e4ccf29e7c16e89c3c34999e Mon Sep 17 00:00:00 2001 From: Mark Vadeika Date: Sun, 17 Nov 2024 23:58:15 -0500 Subject: [PATCH 1/2] update workflow --- .github/workflows/{build-and-lint.yml => main.yml} | 4 ++-- README.md | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) rename .github/workflows/{build-and-lint.yml => main.yml} (90%) diff --git a/.github/workflows/build-and-lint.yml b/.github/workflows/main.yml similarity index 90% rename from .github/workflows/build-and-lint.yml rename to .github/workflows/main.yml index e42047f..92dc2d7 100644 --- a/.github/workflows/build-and-lint.yml +++ b/.github/workflows/main.yml @@ -1,11 +1,11 @@ -name: Build and Lint +name: Main Workflow on: pull_request: push: branches: - 'main' jobs: - build: + build-and-lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/README.md b/README.md index d03e03f..8fc0877 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ [![npm version](https://badge.fury.io/js/react-toggle-slider.svg)](https://www.npmjs.com/package/react-toggle-slider) +![example event parameter](https://github.com/VirtualParticle/react-toggle-slider/actions/workflows/build-and-lint.yml/badge.svg?event=push) + A highly customizable React toggle slider component. ![default](https://user-images.githubusercontent.com/20135416/122633007-293cda80-d0a4-11eb-90e9-86b1cce29061.gif) From 6b2aa097caa4cb30bd977b784fa7802e2beb57a3 Mon Sep 17 00:00:00 2001 From: Mark Vadeika Date: Sun, 17 Nov 2024 23:59:20 -0500 Subject: [PATCH 2/2] update workflow path --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8fc0877..d15dd0d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![npm version](https://badge.fury.io/js/react-toggle-slider.svg)](https://www.npmjs.com/package/react-toggle-slider) -![example event parameter](https://github.com/VirtualParticle/react-toggle-slider/actions/workflows/build-and-lint.yml/badge.svg?event=push) +![example event parameter](https://github.com/VirtualParticle/react-toggle-slider/actions/workflows/main.yml/badge.svg?event=push) A highly customizable React toggle slider component.