Skip to content

Commit

Permalink
Sync hooks branch with develop (#429)
Browse files Browse the repository at this point in the history
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
18 people committed Sep 21, 2020
1 parent f72bc31 commit e50aabe
Show file tree
Hide file tree
Showing 41 changed files with 1,101 additions and 429 deletions.
89 changes: 87 additions & 2 deletions .all-contributorsrc
Expand Up @@ -240,7 +240,6 @@
"avatar_url": "https://avatars1.githubusercontent.com/u/5932031?v=4",
"profile": "https://github.com/stoberov",
"contributions": [
"code",
"bug"
]
},
Expand Down Expand Up @@ -273,7 +272,93 @@
"contributions": [
"code"
]
},
{
"login": "kYem",
"name": "Kestutis Kasiulynas",
"avatar_url": "https://avatars1.githubusercontent.com/u/3390897?v=4",
"profile": "http://kYem.net",
"contributions": [
"bug",
"code"
]
},
{
"login": "isuscbrmid",
"name": "Jesus Cabrera Gonzalez",
"avatar_url": "https://avatars3.githubusercontent.com/u/20484267?v=4",
"profile": "https://github.com/isuscbrmid",
"contributions": [
"code"
]
},
{
"login": "MJRuskin",
"name": "MJRuskin",
"avatar_url": "https://avatars2.githubusercontent.com/u/27359753?v=4",
"profile": "https://github.com/MJRuskin",
"contributions": [
"code"
]
},
{
"login": "akarshjairaj",
"name": "akarshjairaj",
"avatar_url": "https://avatars1.githubusercontent.com/u/64946671?v=4",
"profile": "https://github.com/akarshjairaj",
"contributions": [
"code"
]
},
{
"login": "berdyshev",
"name": "Artem Berdyshev",
"avatar_url": "https://avatars1.githubusercontent.com/u/539090?v=4",
"profile": "https://github.com/berdyshev",
"contributions": [
"code",
"bug"
]
},
{
"login": "m4theushw",
"name": "Matheus Wichman",
"avatar_url": "https://avatars3.githubusercontent.com/u/42154031?v=4",
"profile": "https://matheushw.com/",
"contributions": [
"code"
]
},
{
"login": "aarce-uncharted",
"name": "aarce-uncharted",
"avatar_url": "https://avatars1.githubusercontent.com/u/60662654?v=4",
"profile": "https://github.com/aarce-uncharted",
"contributions": [
"code"
]
},
{
"login": "osmancode",
"name": "Mohamad Othman",
"avatar_url": "https://avatars0.githubusercontent.com/u/1795294?v=4",
"profile": "http://osmancode.me",
"contributions": [
"code",
"ideas"
]
},
{
"login": "smurfs2549",
"name": "kathleenlu",
"avatar_url": "https://avatars3.githubusercontent.com/u/8286468?v=4",
"profile": "https://github.com/smurfs2549",
"contributions": [
"code",
"bug"
]
}
],
"contributorsPerLine": 7
"contributorsPerLine": 7,
"skipCi": true
}
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
@@ -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 }}
34 changes: 34 additions & 0 deletions .github/workflows/docs.yml
@@ -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
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
@@ -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
6 changes: 6 additions & 0 deletions .gitignore
Expand Up @@ -34,6 +34,9 @@ jspm_packages
.npm
.npmrc

# NPM lockfile
package-lock.json

# Optional REPL history
.node_repl_history

Expand All @@ -45,3 +48,6 @@ dist
# Webstorm cache
.idea
/webpack-stats.json

# Mac crap
.DS_Store
28 changes: 0 additions & 28 deletions .travis.yml
Expand Up @@ -12,35 +12,7 @@ jobs:
install:
- yarn install --ignore-engines
script:
- yarn lint:nofix
- yarn coveralls
branches:
except:
- /^v\d+\.\d+\.\d+$/
# Define the release stage that runs semantic-release
- stage: release
if: (NOT type IN (pull_request)) AND (branch = master)
node_js: '10'
# overwrite default `script` step to skip the tests
script: echo "Deploying to npm ..."
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
- stage: docs
if: (NOT type IN (pull_request)) AND (branch = develop)
node_js: '10'
# un-ignore bundle.js
before_deploy: mv docs/.gitignore .gitignore
# overwrite default `script` step to skip the tests
script: yarn build:docs
deploy:
provider: pages
skip-cleanup: true
github-token: $GH_PAGES_TOKEN # Set in the settings page of the repository, as a secure variable
keep-history: true
local-dir: docs
verbose: true
on:
branch: develop

0 comments on commit e50aabe

Please sign in to comment.