Skip to content

Commit

Permalink
Merge branch 'LLK/develop' into xcratch-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yokobond committed Oct 6, 2022
2 parents 4c896b2 + b31c250 commit 3791b1e
Show file tree
Hide file tree
Showing 84 changed files with 53,376 additions and 15,158 deletions.
73 changes: 73 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
version: 2.1
orbs:
commitlint: conventional-changelog/commitlint@1.0.0
node: circleci/node@5
aliases:
- &release-branches
- develop
- /^hotfix\//
commands:
deploy_gh_pages:
steps:
- run:
name: deploy to GH Pages
command: |
if [ -n "$GH_PAGES_REPO" ]; then
export GIT_AUTHOR_EMAIL="$(git log --pretty=format:"%ae" -n1)"
export GIT_AUTHOR_NAME="$(git log --pretty=format:"%an" -n1)"
export GIT_COMMITTER_EMAIL="${GIT_AUTHOR_EMAIL}"
export GIT_COMMITTER_NAME="${GIT_AUTHOR_NAME}"
npm run deploy -x -r $GH_PAGES_REPO
fi
jobs:
build_no_release:
executor: node/default # defaults to LTS
steps:
- checkout
- node/install-packages
- run: npm test
- run: npm run build
- deploy_gh_pages
build_and_release:
executor: node/default # defaults to LTS
steps:
- checkout
- node/install-packages
- run: npm test
- run: npm run build
- deploy_gh_pages
- run: npx semantic-release
update_i18n:
executor: node/default # defaults to LTS
steps:
- checkout
- node/install-packages
- run: npm run i18n:src && npm run i18n:push
workflows:
version: 2
commitlint:
jobs:
- commitlint/lint:
target-branch: develop
build_no_release:
jobs:
- build_no_release:
filters:
branches:
ignore: *release-branches
build_and_release:
jobs:
- build_and_release:
filters:
branches:
only: *release-branches
update_i18n:
jobs:
- update_i18n:
context: transifex
triggers:
- schedule:
cron: 0 0 * * * # daily at midnight UTC = 7-8pm US Eastern
filters:
branches:
only: develop
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ trim_trailing_whitespace = true

[*.{js,html}]
indent_style = space

[.circleci/config.yml]
indent_size = 2
indent_style = space
1 change: 1 addition & 0 deletions .husky/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit $1
74 changes: 0 additions & 74 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 3791b1e

Please sign in to comment.