From bf455f66f69e7270ebcd7f3a97358fae6ed263b0 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Mon, 11 Dec 2023 12:49:23 -0700 Subject: [PATCH] chore(ci): Run lint before tests --- .github/workflows/test.yml | 3 +++ package.json | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e34746f8a..65191e35b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,5 +40,8 @@ jobs: - name: Install dependencies run: npm ci + - name: Lint + run: npm run lint + - name: Run tests run: npm test diff --git a/package.json b/package.json index be1801b03..90b640698 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ ], "scripts": { "prepare": "npm run build -ws --if-present --foreground-scripts", + "lint": "npm run lint -ws -if-present", "test": "npm test -ws --if-present" } }