test: trigger only flow should not be publishable

This commit is contained in:
Jakub P.
2024-09-23 22:35:19 +02:00
parent c8dae9ea9a
commit 06e8f5bfdc
8 changed files with 107 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
const { Pool } = require('pg');
const pool = new Pool({
max: 20,
idleTimeoutMillis: 30000,
connectionTimeoutMillis: 2000,
host: process.env.POSTGRES_HOST,
user: process.env.POSTGRES_USERNAME,
port: process.env.POSTGRES_PORT,
password: process.env.POSTGRES_PASSWORD,
database: process.env.POSTGRES_DATABASE
});
exports.pgPool = pool;