Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync hooks branch with develop (#429)
Co-authored-by: Magnus Ellinge <magnus.ellinge@consid.se> Co-authored-by: Hrusikesh Panda <mrchief@users.noreply.github.com> Co-authored-by: KathleenLu <kathleenlu@Objectivasoftware.com> Co-authored-by: Jesus Cabrera <jesus.cabrera@dowjones.com> Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com> Co-authored-by: Bulletninja <luis.linuxero@gmail.com> Co-authored-by: Mohamad Othman <osmancode@gmail.com> Co-authored-by: ellinge <magnus.ellinge@gmail.com> Co-authored-by: kathleenlu <18392041225@163.com> Co-authored-by: Hrusikesh Panda <mrchief_2000@yahoo.com> Co-authored-by: MJRuskin <mike.j.ruskin@gmail.com> Co-authored-by: Jesus Cabrera Gonzalez <cabrera.89@hotmail.com> Co-authored-by: akarshjairaj <64946671+akarshjairaj@users.noreply.github.com> Co-authored-by: Lutz Lengemann <mobilutz@users.noreply.github.com> Co-authored-by: Kestutis Kasiulynas <mr.kyem@gmail.com> Co-authored-by: Artem Berdyshev <berdartem@gmail.com> Co-authored-by: aarce-uncharted <60662654+aarce-uncharted@users.noreply.github.com>
- Loading branch information
1 parent
f72bc31
commit e50aabe
Showing
41 changed files
with
1,101 additions
and
429 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
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,26 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: [develop, master] | ||
pull_request: | ||
branches: [develop] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node JS | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- run: yarn install --ignore-engines | ||
- run: yarn lint:nofix | ||
- run: yarn test | ||
# 💀💀💀💀cannot run coveralls since GH won't pass COVERALLS_REPO_TOKEN to forks; so any PRs from external contributors would fail | ||
# - run: yarn coveralls | ||
# env: | ||
# COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | ||
# COVERALLS_GIT_BRANCH: ${{ github.ref }} |
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,34 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
branches: [develop] | ||
paths: | ||
- 'docs/**' | ||
- package.json | ||
- README.md | ||
|
||
jobs: | ||
build-docs: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
- name: Setup Node JS | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- name: Build Docs 📚 | ||
run: | | ||
# un-ignore bundle.js | ||
mv docs/.gitignore .gitignore | ||
yarn install --ignore-engines | ||
yarn build:docs | ||
- name: Deploy Pages 🚀 | ||
uses: JamesIves/github-pages-deploy-action@releases/v3 | ||
with: | ||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: docs |
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,24 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
|
||
jobs: | ||
build-release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup Node JS | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- run: yarn install --ignore-engines | ||
- run: yarn lint:nofix | ||
- run: yarn test | ||
- name: Release to npm 🚀 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release |
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
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
Oops, something went wrong.