mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
ci: remove CircleCI config
This commit is contained in:
parent
95ab579093
commit
732214034f
1 changed files with 0 additions and 85 deletions
|
@ -1,85 +0,0 @@
|
||||||
version: 2.1
|
|
||||||
orbs:
|
|
||||||
commitlint: conventional-changelog/commitlint@1.0.0
|
|
||||||
node: circleci/node@5.1.0
|
|
||||||
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:
|
|
||||||
name: node/default
|
|
||||||
tag: '16.18'
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- node/install-packages
|
|
||||||
- run: npm test
|
|
||||||
- run: npm run build
|
|
||||||
- deploy_gh_pages
|
|
||||||
- run: npx --no -- semantic-release --dry-run
|
|
||||||
build_and_release:
|
|
||||||
executor:
|
|
||||||
name: node/default
|
|
||||||
tag: '16.18'
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- node/install-packages
|
|
||||||
- run: npm test
|
|
||||||
- run: npm run build
|
|
||||||
- deploy_gh_pages
|
|
||||||
- run: npx --no -- semantic-release
|
|
||||||
update_i18n:
|
|
||||||
executor:
|
|
||||||
name: node/default
|
|
||||||
tag: '16.18'
|
|
||||||
steps:
|
|
||||||
- checkout
|
|
||||||
- node/install-packages
|
|
||||||
- run: npm run i18n:src && npm run i18n:push
|
|
||||||
workflows:
|
|
||||||
version: 2
|
|
||||||
commitlint:
|
|
||||||
jobs:
|
|
||||||
- commitlint/lint:
|
|
||||||
target-branch: develop
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
ignore: *release-branches
|
|
||||||
build_no_release:
|
|
||||||
jobs:
|
|
||||||
- build_no_release:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
ignore: *release-branches
|
|
||||||
build_and_release:
|
|
||||||
jobs:
|
|
||||||
- build_and_release:
|
|
||||||
context:
|
|
||||||
- scratch-npm-creds
|
|
||||||
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
|
|
Loading…
Reference in a new issue