Build: Adds pre-commit check that fails if node versions are not synced (#17820)

* Build: Adds pre-commit check that fails if node versions are not synced

* Build: Throws error instead

* Minor refactoring and testing
This commit is contained in:
Hugo Häggmark
2019-07-05 10:46:25 +02:00
committed by Torkel Ödegaard
parent 315177fad7
commit b1a0bd115c
4 changed files with 105 additions and 12 deletions

View File

@@ -255,5 +255,8 @@
},
"_moduleAliases": {
"puppeteer": "node_modules/puppeteer-core"
},
"engines": {
"node": ">=10 <11"
}
}