Files
bookorbit/client/scripts/sync-crowdin-source.mjs
neon 50063b7775 ci: make crowdin source synchronization deterministic
Upload and verify the checked-out English catalog before exporting translations so delayed webhooks cannot stall the scheduled workflow.
2026-09-15 13:11:24 +00:00

10 lines
262 B
JavaScript

import { syncCrowdinSource } from './sync-crowdin-translations.mjs'
syncCrowdinSource({
token: process.env.CROWDIN_TOKEN,
projectId: process.env.CROWDIN_PROJECT_ID || undefined,
}).catch((error) => {
console.error(error.message)
process.exitCode = 1
})