mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Skip database check during CI.
This commit is contained in:
parent
7ef4718c4e
commit
8234b4264c
3 changed files with 7 additions and 1 deletions
|
|
@ -4,6 +4,11 @@ const chalk = require('chalk');
|
|||
const spawn = require('cross-spawn');
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
if (process.env.SKIP_DB_CHECK) {
|
||||
console.log('Skipping database check.');
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
const prisma = new PrismaClient();
|
||||
|
||||
function success(msg) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue