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
1 changed files with 4 additions and 3 deletions

View File

@ -12,13 +12,14 @@ 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
- name: npm test - name: npm test
run: npm test run: npm test