Skip to content

Commit

Permalink
ci: add build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
EnisMulic committed Oct 20, 2024
1 parent 13f9022 commit 0b490ec
Show file tree
Hide file tree
Showing 5 changed files with 545 additions and 18 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
name: Build Project
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- name: Install pnpm
run: npm install -g pnpm

- name: Restore dependencies
run: pnpm install

- name: Build Turborepo
run: pnpm turbo run build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ yarn-error.log*
# Ignore all env files
.env*
.env*.local
# Ignore .env.example files
!.env.example

# vercel
.vercel
Expand Down
7 changes: 7 additions & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SMTP_HOST=your-smtp-host # e.g., smtp.gmail.com
SMTP_PORT=your-smtp-port # e.g., 587 for TLS or 465 for SSL
SMTP_USER=[email protected] # Your email address
SMTP_PASS=your-app-password # Your app password for the email account
SENDER_EMAIL=your-sender-email # Email address from which the emails will be sent
DEFAULT_RECEIVER_EMAIL=[email protected] # Default recipient email address
DEFAULT_RECEIVER_NAME=your-receiver-name # Name of the default recipient
1 change: 1 addition & 0 deletions frontend/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_API_URL=http://localhost:3001
Loading

0 comments on commit 0b490ec

Please sign in to comment.