From fe55a152ea754ad2324d691bc4be804c9f45e706 Mon Sep 17 00:00:00 2001 From: Matti Nannt Date: Mon, 10 Jul 2023 10:59:17 +0200 Subject: [PATCH] add .env file to checks workflow (#508) * add .env file to checks workflow * update .env.example comment --- .env.example | 3 ++- .github/workflows/checks.yml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 3211d6eb9f..e5d62c6f14 100644 --- a/.env.example +++ b/.env.example @@ -46,7 +46,8 @@ NEXTAUTH_URL=http://localhost:3000 MAIL_FROM=noreply@example.com SMTP_HOST=localhost SMTP_PORT=1025 -SMTP_SECURE_ENABLED=0 # Enable for TLS (port 465) +# Enable SMTP_SECURE_ENABLED for TLS (port 465) +SMTP_SECURE_ENABLED=0 SMTP_USER=smtpUser SMTP_PASSWORD=smtpPassword diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 460b6a344c..beca0d4496 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -27,6 +27,9 @@ jobs: - name: Build formbricks-js dependencies run: pnpm build --filter=js + - name: create .env + run: cp .env.example .env + - name: Lint run: pnpm lint