Skip to content

Commit

Permalink
Support multiple instances on same page (#1)
Browse files Browse the repository at this point in the history
* allow multiple instances on same page
* ignore build artifacts, rename output to postmate instead of popostmate
* Update readme
* update build workflow
* Bump version to 1.6.2

Co-authored-by: Vitor Cunha <[email protected]>
Co-authored-by: Jean-Michel Humblet <[email protected]>
  • Loading branch information
3 people authored Nov 25, 2020
1 parent de91923 commit fadcb22
Show file tree
Hide file tree
Showing 13 changed files with 119 additions and 1,516 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Build branches
on:
push:
branches-ignore:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn eslint:ci
- run: yarn build
- run: yarn test
- run: npx codecov
21 changes: 21 additions & 0 deletions .github/workflows/publish-on-npm-branches.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish on NPM - branches
on:
workflow_dispatch:
branches-ignore:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
registry-url: https://registry.npmjs.org/
- run: yarn
- run: yarn eslint:ci
- run: yarn build
- run: yarn test
- run: npx codecov
- run: npm publish --tag beta
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
6 changes: 4 additions & 2 deletions .github/workflows/publish-on-npm.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Publish on NPM
on:
push
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ coverage/
coverage.lcov
coverage_*/
.idea/
build/
Loading

0 comments on commit fadcb22

Please sign in to comment.