Replace locale presubmit hook with Github action (#1802)

* Replace locale presubmit hook with Github action

* nit

* Make sure electronAPI is defined on window object

* Set correct env var
This commit is contained in:
Chenlei Hu
2024-12-04 18:43:02 -08:00
committed by GitHub
parent 418fddd669
commit 73f50e7e0b
2 changed files with 39 additions and 3 deletions

View File

@@ -6,9 +6,7 @@ export default {
'vue-tsc --noEmit',
'tsc --noEmit',
'tsc-strict'
],
'./src/locales/en.json': () => ['lobe-i18n locale']
]
}
function formatFiles(fileNames) {