Update main.workflow

This commit is contained in:
Danny McCormick 2019-06-20 09:45:17 -04:00 committed by GitHub
parent 32b4c69676
commit daff220482
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,11 @@ jobs:
with: with:
version: 10.x version: 10.x
- name: npm install
# Explicitly uninstall husky so that we avoid issues with git hooks/node versioning. # Explicitly uninstall husky so that we avoid issues with git hooks/node versioning.
# Should switch to clean checkout instead when supported. # Should switch to clean checkout instead when supported.
run: npm prune --production && npm install && npm uninstall husky run: npm prune --production
run: npm install
run: npm uninstall husky
- name: Lint - name: Lint
run: npm run format-check run: npm run format-check