Skip to content

Commit

Permalink
ci: split lint and type check tests
Browse files Browse the repository at this point in the history
  • Loading branch information
willmendesneto committed Oct 31, 2021
1 parent 12980f0 commit a743635
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ workflows:
- bundle_size:
requires:
- build
- lint_and_types:
- lint:
requires:
- build
- type_definition_lint:
requires:
- build

Expand All @@ -68,14 +71,18 @@ jobs:
command: |
sudo npm run build
sudo npm run bundlesize
lint_and_types:
lint:
<<: *docker_defaults
steps:
- *attach_workspace
- run:
name: ESLint Check
command: |
sudo npm run lint
type_definition_lint:
<<: *docker_defaults
steps:
- *attach_workspace
- run:
name: Type Definition Check
command: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Improving code linting by adding `eslint-plugin-unicorn` package
- 🎉 Decreasing final bundle in 20% 🎉
- Updating code coverage for module
- Split `npm run lint` and `npm run lint:types` tasks to decrease pipeline time

### Fixed

Expand Down

0 comments on commit a743635

Please sign in to comment.