From 6b56cc5bcffc3aea00f3fe16a3c1eb4330de922f Mon Sep 17 00:00:00 2001 From: rymnc <43716372+rymnc@users.noreply.github.com> Date: Fri, 25 Nov 2022 11:39:40 +0530 Subject: [PATCH] fix(ci): add lint check --- .github/workflows/ci.yml | 3 +++ package.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ed24d5..9f90182 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,9 @@ jobs: - id: dependencies run: yarn install + - id: lint + run: yarn lint + - id: test run: yarn test diff --git a/package.json b/package.json index 11e7e02..e872786 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "deploy:goerli": "yarn deploy goerli", "deploy:localhost": "yarn deploy localhost", "coverage": "hardhat coverage", - "fmt": "prettier --write \"**/*.{js,ts}\"" + "fmt": "prettier --write \"**/*.{js,ts}\"", + "lint": "prettier --check \"**/*.{js,ts}\"" }, "devDependencies": { "@interep/contracts": "0.6.0",