Skip to content

Commit

Permalink
Merge pull request #2221 from snyk/chore/lint-before-build
Browse files Browse the repository at this point in the history
chore(ci): lint before build
  • Loading branch information
Jahed Ahmed authored Sep 6, 2021
2 parents c7045f7 + 5931b49 commit f637ba5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ jobs:
- checkout
- install_project_dependencies:
node_version: << parameters.node_version >>
- run:
name: Linting project
command: npm run lint
- build_project
regression-test:
<<: *defaults
Expand All @@ -178,9 +181,6 @@ jobs:
node_version: << parameters.node_version >>
- attach_workspace:
at: .
- run:
name: Linting project
command: npm run lint
- run:
name: Installing test fixture dependencies
working_directory: ./test/fixtures/basic-npm
Expand Down

0 comments on commit f637ba5

Please sign in to comment.