Skip to content

Commit

Permalink
feat: add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
joshxfi committed Apr 23, 2024
1 parent 33f4d88 commit 5045228
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches: ["main", "dev"]
pull_request:
types: [opened, synchronize]

jobs:
build:
name: Build
timeout-minutes: 15
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v3
with:
fetch-depth: 2

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install dependencies
run: bun install

- name: Build
env:
TURSO_DATABASE_URL: ${{ secrets.TURSO_DATABASE_URL }}
run: bun run build

0 comments on commit 5045228

Please sign in to comment.