mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
* [migrations] only apply non-blocking migrations in CI * [migrations] use "yarn run migrations" instead of "npm run migrations" GitOrigin-RevId: d9f96db398adf2febcd82333295fb8d5eab741bb
11 lines
285 B
JavaScript
11 lines
285 B
JavaScript
const { exec } = require('node:child_process')
|
|
const { promisify } = require('node:util')
|
|
|
|
before('run migrations', async function () {
|
|
this.timeout(60_000)
|
|
|
|
await promisify(exec)(
|
|
`cd ../../tools/migrations && yarn run migrations migrate -t 'server-ce & !nonblocking'`
|
|
)
|
|
})
|