Skip to content

Commit

Permalink
Refine actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
supnate committed Mar 18, 2024
1 parent 368b2a6 commit 398780c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 51 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- main
paths:
- 'packages/nice-form-react/src/**'
- '.github/workflows/build.yml'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -35,8 +36,15 @@ jobs:
- name: Install dependencies
run: pnpm i

# Build API docs and examples
- name: build
# Build API docs and examples
- name: Unit tests
run: |
cd packages/nice-form-react
pnpm build
pnpm test
- name: Coveralls
uses: coverallsapp/github-action@v2

# Build API docs and examples
- name: build
run: pnpm build
47 changes: 0 additions & 47 deletions .github/workflows/unit-tests.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ While there're already some form libraries/frameworks focus on state management

[![NPM](https://img.shields.io/npm/v/@ebay/nice-form-react.svg)](https://www.npmjs.com/package/@ebay/nice-form-react)
[![build](https://github.com/ebay/nice-form-react/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/eBay/nice-form-react/actions/workflows/build.yml)
[![unit-tests](https://github.com/ebay/nice-form-react/actions/workflows/unit-tests.yml/badge.svg?branch=main)](https://github.com/ebay/nice-form-react/actions/workflows/unit-tests.yml)
[![Coverage](https://coveralls.io/repos/eBay/nice-form-react/badge.svg?branch=main&service=github)](https://coveralls.io/github/eBay/nice-form-react?branch=main)
[![Demo](https://img.shields.io/badge/demo-link-orange.svg)](https://ebay.github.io/nice-form-react/)
[![CodeQL Scan](https://github.com/ebay/nice-form-react/actions/workflows/codeql.yml/badge.svg)](https://github.com/ebay/nice-form-react/actions/workflows/codeql.yml)
Expand Down

0 comments on commit 398780c

Please sign in to comment.