Skip to content

Commit

Permalink
README badges
Browse files Browse the repository at this point in the history
  • Loading branch information
markdlv committed Feb 24, 2023
1 parent 2fb2df8 commit 8aca5f2
Show file tree
Hide file tree
Showing 5 changed files with 303 additions and 11 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ jobs:
- name: Build & Test
run: |
yarn install --frozen-lockfile
yarn lint
yarn test
yarn test:ci
yarn build
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
parallel: true
finish:
needs: main
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
18 changes: 16 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,22 @@ jobs:
run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
yarn
yarn test
yarn lint
yarn test:ci
yarn build
- name: Publish
run: yarn semantic-release
- name: Coveralls
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
parallel: true
finish:
needs: main
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# React Native SDK

[![npm](https://img.shields.io/npm/v/@lifeomic/react-native-sdk.svg)](https://www.npmjs.com/package/@lifeomic/react-native-sdk)
[![Build Status](https://github.com/lifeomic/react-native-sdk/actions/workflows/release.yml/badge.svg)](https://github.com/lifeomic/react-native-sdk/actions/workflows/release.yml)
[![Coverage Status](https://coveralls.io/repos/github/lifeomic/react-native-sdk/badge.svg?branch=master)](https://coveralls.io/github/lifeomic/react-native-sdk?branch=master)

React-native hooks, components, screens, and utilities for building a mobile app
against the LifeOmic Platform.

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"lint:fix": "yarn lint --fix",
"test": "yarn jest",
"test:ci": "yarn lint && yarn jest --coverage --runInBand --silent --ci --logHeapUsage",
"coverage": "cat ./coverage/lcov.info | coveralls",
"build": "rm -rf dist && tsc -p tsconfig.build.json --outDir dist && cp package.json ./dist",
"precopyToStarter": "yarn build",
"copyToStarter": "cp -r ./dist/ ../react-native-starter/node_modules/@lifeomic/react-native-sdk"
Expand All @@ -35,6 +36,7 @@
"axios": "^1.3.2",
"axios-mock-adapter": "^1.21.2",
"conventional-changelog-conventionalcommits": "^5.0.0",
"coveralls": "^3.1.1",
"eslint": "^8.33.0",
"graphql": "^16.6.0",
"graphql-request": "^5.1.0",
Expand Down

0 comments on commit 8aca5f2

Please sign in to comment.