mirror of
https://github.com/actions/setup-node.git
synced 2025-04-24 12:22:12 +00:00
Merge branch 'master' of https://github.com/actions/setup-node into features/problem-matchers
This commit is contained in:
commit
da696641d6
2 changed files with 4 additions and 1 deletions
4
.github/main.workflow.yml
vendored
4
.github/main.workflow.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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/*"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue