diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00ebeaf7b8..b7b9db32a6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,9 @@ jobs: - name: ๐Ÿงช Test project run: pnpm test tests/unit + - name: ๐Ÿ”Ž Glean Lint + run: pnpm lint:glean + - name: ๐Ÿ“ Lint run: pnpm lint # Mozilla.Social changes have errors with this check, disabling for now. diff --git a/package.json b/package.json index 44bb881d59..02b3af2edf 100644 --- a/package.json +++ b/package.json @@ -140,7 +140,7 @@ } }, "simple-git-hooks": { - "pre-commit": "pnpm lint-staged" + "pre-commit": "pnpm lint-staged && pnpm lint:glean" }, "lint-staged": { "*": "eslint --fix"