Merge branch 'master' of https://github.com/actions/setup-node into features/problem-matchers

This commit is contained in:
Danny McCormick 2019-06-17 10:54:20 -04:00
commit da696641d6
2 changed files with 4 additions and 1 deletions

View file

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

View file

@ -41,6 +41,7 @@
"typescript": "^3.5.1" "typescript": "^3.5.1"
}, },
"husky": { "husky": {
"skipCI": true,
"hooks": { "hooks": {
"pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*" "pre-commit": "npm run build && npm run format && npm prune --production && git add node_modules/*"
} }