Skip to content

Commit

Permalink
Build Tooling: Run packages build before lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth committed May 4, 2020
1 parent b73bb6d commit e931307
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ jobs:
- name: Lint
install:
- npm ci
# eslint-plugin-import/no-extraneous-dependencies relies on modules to
# be "installed", which in practice requires that packages be built,
# presumably so that pkg.main can be resolved.
#
# See: https://github.com/benmosher/eslint-plugin-import/blob/92caa35/resolvers/node/index.js
- node ./bin/packages/build.js
script:
- npm run lint

Expand Down

0 comments on commit e931307

Please sign in to comment.