Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Skip database check during CI.
Mike Cao8234b4264ca8
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 80db33c66..c24c2e6d0 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -7,6 +7,7 @@ on: [push]env:DATABASE_TYPE: postgresql+ SKIP_DB_CHECK: 1jobs:build:diff --git a/package.json b/package.jsonindex b0ee7429c..6142816ae 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "umami",- "version": "1.37.0",+ "version": "1.38.0-beta.1","description": "A simple, fast, privacy-focused alternative to Google Analytics.","author": "Mike Cao <[email protected]>","license": "MIT",diff --git a/scripts/check-db.js b/scripts/check-db.jsindex 821e7f740..4de18a89f 100644--- a/scripts/check-db.js+++ b/scripts/check-db.js@@ -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) {