Skip to content

Commit

Permalink
Merge pull request #486 from ParthS007/gh-actions
Browse files Browse the repository at this point in the history
CI: Run gh-actions on push/pull-request to master
  • Loading branch information
s-yadav authored Jan 11, 2021
2 parents 1c6a686 + 81bbc83 commit bb461fb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ name: CI

on:
push:

pull_request_target:
branches-ignore:
- master
branches: master
pull_request:
branches: master

jobs:
test:
name: on ${{ matrix.node }} and ${{ matrix.os }}

name: Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
Expand All @@ -21,14 +19,18 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Use node ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
registry-url: https://registry.npmjs.org
- name: install

- name: Install
run: yarn
- name: yarn lint

- name: Lint
run: yarn run lint
- name: test

- name: Test
run: TEST_BROWSER=ChromeHeadless yarn test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Actions Status](https://github.com/s-yadav/react-number-format/workflows/CI/badge.svg)](https://github.com/s-yadav/react-number-format/actions)

# react-number-format
React component to format number in an input or as a text

Expand Down

0 comments on commit bb461fb

Please sign in to comment.