forked from dollarshaveclub/postmate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multiple instances on same page (#1)
* 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
1 parent
de91923
commit fadcb22
Showing
13 changed files
with
119 additions
and
1,516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ coverage/ | |
coverage.lcov | ||
coverage_*/ | ||
.idea/ | ||
build/ |
Oops, something went wrong.