mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2025-03-20 23:29:07 +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"
|
||
|
])
|
||
|
}
|
||
|
}
|