From 4072a8f5d88110cff50b28d242522967c0ae2a69 Mon Sep 17 00:00:00 2001 From: Micaiah Martin Date: Fri, 28 Jan 2022 11:23:34 -0700 Subject: [PATCH] moved linting to the front of CI --- .github/workflows/build.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c9d9ed670..2c9bb60e06 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,6 +24,21 @@ jobs: - name: Print lines of code run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git + lint: + name: Lint + runs-on: windows-2019 + steps: + - name: Checkout repo + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f + + - name: Set up Node + uses: actions/setup-node@46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea + with: + node-version: '16' + + - name: Run linter + run: npm run lint + setup: name: Setup @@ -104,9 +119,6 @@ jobs: npm run dist npm run test - - name: Run linter - run: npm run lint - - name: Gulp run: gulp ci