mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-25 11:24:46 +01:00
11 lines
153 B
JavaScript
11 lines
153 B
JavaScript
|
const tasks = arr => arr.join(' && ')
|
||
|
|
||
|
module.exports = {
|
||
|
'hooks': {
|
||
|
'pre-commit': tasks([
|
||
|
"npm run lint",
|
||
|
"npm run test"
|
||
|
])
|
||
|
}
|
||
|
}
|