diff options
author | Ivan Chen <ivan@tagg.id> | 2021-04-22 17:05:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 17:05:58 -0400 |
commit | e8913cc0bdc432c20a008e852482c82c3bb3c2a0 (patch) | |
tree | 685e06c932bc68c7587405bb350482c4c7b95c83 | |
parent | 4a5d823e77e80269ac44e5194c16013476fee36a (diff) | |
parent | 59eda4d81eb86348577486badec4c3cbe50623d7 (diff) |
Merge pull request #380 from IvanIFChen/ci-disable-release
[CI] Fixed CI
-rw-r--r-- | .circleci/config.yml | 49 |
1 files changed, 32 insertions, 17 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index b9914109..4c2b40ee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,6 +15,15 @@ jobs: - persist_to_workspace: paths: . root: . + lint_code: + executor: rn/linux_js + steps: + - attach_workspace: + at: . + - rn/yarn_install + - run: + command: yarn lint + name: Run ESLint (`yarn lint`) # Run linter, type-checker, and tests. analyze_code: executor: rn/linux_js @@ -25,27 +34,33 @@ jobs: - run: command: yarn lint name: Run ESLint (`yarn lint`) - # - run: - # command: yarn type - # name: Run TSC (`yarn type`) - # - run: - # command: yarn test - # name: Run Jest (`yarn test`) + - run: + command: yarn type + name: Run TSC (`yarn type`) + - run: + command: yarn test + name: Run Jest (`yarn test`) # Define workflows. workflows: - # Simple test workflow with iOS build. - test: + # Simple workflow for just linting + linter: jobs: - checkout_code - - analyze_code: + - lint_code: requires: - checkout_code - - rn/ios_build: - name: build_ios_release - project_path: ios/Frontend.xcodeproj - device: 'iPhone 11' - build_configuration: Debug - scheme: Frontend - requires: - - analyze_code + # test: + # jobs: + # - checkout_code + # - lint_code: + # requires: + # - checkout_code + # - rn/ios_build: + # name: build_ios_release + # project_path: ios/Frontend.xcodeproj + # device: 'iPhone 11' + # build_configuration: Debug + # scheme: Frontend + # requires: + # - analyze_code |