Skip to content

Commit

Permalink
ci(build): create pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
MFarabi619 committed Aug 6, 2024
1 parent 3765640 commit 046bc71
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/BUILD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build

on:
push:
branches: '*'
pull_request:
branches: '*'

jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]

steps:
- name: πŸ›ŽοΈ Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0 # All history for branches and tags

- name: 🍞 Install Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: πŸ“‚ Install Dependencies
run: bun install

- name: πŸ—οΈ Build Project
env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }}
run: bun build

- name: πŸ’° Profit
run: echo 🐞

0 comments on commit 046bc71

Please sign in to comment.