Skip to content

Commit

Permalink
Merge pull request #8 from 100mslive/develop
Browse files Browse the repository at this point in the history
chore: merge develop
  • Loading branch information
triptu committed May 30, 2021
1 parent 981ebb6 commit e594e72
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Publish Alpha
name: Publish Beta

on:
push:
Expand All @@ -17,8 +17,14 @@ jobs:
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn test
- run: npm publish --tag alpha
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

- name: Install packages
run: yarn install

- name: Test
run: yarn test --ci --coverage

- uses: JS-DevTools/npm-publish@v1
with:
token: ${{secrets.npm_token}}
tag: "beta"
15 changes: 10 additions & 5 deletions packages/hms-video-store/.github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ jobs:
with:
node-version: 14
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

- name: Install packages
run: yarn install

- name: Test
run: yarn test --ci --coverage

- uses: JS-DevTools/npm-publish@v1
with:
token: ${{secrets.npm_token}}
15 changes: 15 additions & 0 deletions packages/hms-video-store/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# 100ms Reactive Store
![Test](https://github.com/100mslive/hms-video-store/actions/workflows/main.yaml/badge.svg)
![Size](https://github.com/100mslive/hms-video-store/actions/workflows/size.yml/badge.svg)
[![Publish](https://github.com/100mslive/hms-video-store/actions/workflows/npm-publish.yml/badge.svg)](https://www.npmjs.com/package/@100mslive/hms-video-store)
![Publish Beta](https://github.com/100mslive/hms-video-store/actions/workflows/npm-publish-beta.yml/badge.svg?branch=develop)
[![Bundle Size](https://badgen.net/bundlephobia/minzip/@100mslive/hms-video-store)](https://bundlephobia.com/result?p=@100mslive/hms-video-store)
![Tree shaking](https://badgen.net/bundlephobia/tree-shaking/@100mslive/hms-video-store)

This is an addon to the core sdk provided by 100ms. It abstracts away the
intricacies of data management and provides
Expand Down Expand Up @@ -75,3 +81,12 @@ function join() {
</>
}
```


## Redux Devtools Images of the store

#### Store State
![Store State](images/store-state.png)

#### Store Graph
![Store State](images/store-graph.png)
Binary file added packages/hms-video-store/images/store-graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/hms-video-store/images/store-state.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e594e72

Please sign in to comment.