This repository has been archived by the owner on Apr 4, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #882 from nugit/develop
29 September 2021 Release
- Loading branch information
Showing
38 changed files
with
5,615 additions
and
7,707 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
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,6 @@ | ||
**Changes:** | ||
|
||
|
||
**PRs:** | ||
|
||
- |
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,16 @@ | ||
name: Changelog | ||
|
||
on: | ||
pull_request: | ||
types: [opened, edited, synchronize] | ||
branches: [master] | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: nugit/actions-pr-changelog@v1.1.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
type: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: dependabot-merge | ||
|
||
on: | ||
workflow_run: | ||
workflows: ["dependabot-check"] | ||
types: | ||
- completed | ||
|
||
# See https://github.com/dependabot/dependabot-core/issues/3253#issuecomment-852541544 | ||
jobs: | ||
check: | ||
# Copied from push.yml | ||
runs-on: ubuntu-latest | ||
if: ${{ (github.event.workflow_run.conclusion == 'success') && (github.event.sender.login == 'dependabot[bot]') }} | ||
steps: | ||
- uses: haya14busa/action-workflow_run-status@v1 | ||
- uses: actions/checkout@v2.3.4 | ||
with: | ||
ref: ${{ github.event.workflow_run.head_branch }} | ||
- uses: actions/setup-node@v2.4.0 | ||
with: | ||
node-version: 12 | ||
cache: 'yarn' | ||
- run: yarn install | ||
- run: yarn lint | ||
- run: yarn flow | ||
- run: yarn test | ||
- run: yarn build | ||
auto-merge: | ||
runs-on: ubuntu-latest | ||
needs: check | ||
steps: | ||
- uses: haya14busa/action-workflow_run-status@v1 | ||
- uses: fastify/github-action-merge-dependabot@v2.5.0 | ||
with: | ||
target: minor | ||
merge-method: merge | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
pr-number: ${{ github.event.workflow_run.pull_requests[0].number }} |
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,12 @@ | ||
name: dependabot-check | ||
|
||
on: | ||
pull_request: | ||
|
||
# See https://github.com/dependabot/dependabot-core/issues/3253#issuecomment-852541544 | ||
jobs: | ||
check-dependabot: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- run: echo "PR created by Dependabot" |
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,35 @@ | ||
name: Deploy Production | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
back-merge: | ||
needs: deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- name: Merge master -> develop | ||
uses: devmasx/merge-branch@1.4.0 | ||
with: | ||
type: now | ||
from_branch: master | ||
target_branch: develop | ||
github_token: ${{ secrets.GH_TOKEN }} | ||
deploy: # Runs install once before everything to create & save cache | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/setup-node@v2.4.0 | ||
with: | ||
node-version: 12 | ||
cache: 'yarn' | ||
- run: yarn install | ||
- name: publish | ||
run: yarn deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |
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: Deploy Staging | ||
|
||
on: | ||
push: | ||
branches: | ||
- alpha | ||
- develop | ||
|
||
jobs: | ||
install: # Runs install once before everything to create & save cache | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/setup-node@v2.4.0 | ||
with: | ||
node-version: 12 | ||
cache: 'yarn' | ||
- run: yarn install | ||
- name: publish | ||
run: yarn deploy | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |
This file was deleted.
Oops, something went wrong.
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,91 +1,24 @@ | ||
# 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: Lint | ||
name: Check | ||
|
||
on: [push] | ||
on: | ||
push: | ||
branches-ignore: | ||
- dependabot/** | ||
|
||
jobs: | ||
setup: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
- uses: actions/checkout@v2.3.4 | ||
- uses: actions/setup-node@v2.4.0 | ||
with: | ||
node-version: 12 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- run: yarn install | ||
lint: | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
cache: 'yarn' | ||
- run: yarn install | ||
- run: yarn lint | ||
flow: | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- run: yarn install | ||
- run: yarn flow | ||
test: | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- run: yarn install | ||
- run: yarn test | ||
build: | ||
runs-on: ubuntu-latest | ||
needs: setup | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: "**/node_modules" | ||
key: ${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-test- | ||
${{ runner.os }}- | ||
- run: yarn install | ||
- run: yarn build |
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,9 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
if [[ -n $HUSKY_BYPASS ]]; then | ||
echo "Husky bypassed" | ||
exit 0; | ||
fi | ||
|
||
yarn commitlint --config ./config/commitlint.config.js --edit $1 |
Oops, something went wrong.