Skip to content

Commit 6057ef4

Browse files
authored
ci: run "lint" in codebuild #4016
Problem: lint job doesn't run in the private repo. Solution: As a temporary workaround, run lint in `linuxTests.yml`. TODO: create a separate codebuild task for lint.
1 parent bf4c7e4 commit 6057ef4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildspec/linuxTests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ phases:
4444
build:
4545
commands:
4646
- export HOME=/home/codebuild-user
47+
# TODO: run lint as a separate codebuild job.
48+
- npm run testCompile
49+
- npm run lint
4750
- xvfb-run npm test --silent
4851
- VCS_COMMIT_ID="${CODEBUILD_RESOLVED_SOURCE_VERSION}"
4952
- CI_BUILD_URL=$(echo $CODEBUILD_BUILD_URL | sed 's/#/%23/g') # Encode `#` in the URL because otherwise the url is clipped in the Codecov.io site

0 commit comments

Comments
 (0)