moved linting to the front of CI

This commit is contained in:
Micaiah Martin 2022-01-28 11:23:34 -07:00
parent 32e54eec7f
commit 4072a8f5d8
1 changed files with 15 additions and 3 deletions

View File

@ -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