summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZaid-maker <53424436+Zaid-maker@users.noreply.github.com>2025-06-24 16:14:40 +0500
committerZaid-maker <53424436+Zaid-maker@users.noreply.github.com>2025-06-24 16:14:40 +0500
commit729d1761f8409e9ca6a158cfb8418e63fe35fea9 (patch)
treeaabfcb13f794778a55bc9c3246633fd54f37dbd1
parent61c172c9cce27f7f062d3fb6fb82f4b040efb35f (diff)
downloadopencut-729d1761f8409e9ca6a158cfb8418e63fe35fea9.tar.gz
feat: add Bun CI workflow for building and testing
-rw-r--r--.github/workflows/bun-ci.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/bun-ci.yml b/.github/workflows/bun-ci.yml
new file mode 100644
index 00000000..b5b785a4
--- /dev/null
+++ b/.github/workflows/bun-ci.yml
@@ -0,0 +1,37 @@
+name: Bun CI
+
+on:
+ push:
+ branches: [main]
+ paths-ignore:
+ - "*.md"
+ pull_request:
+ branches: [main]
+ paths-ignore:
+ - "*.md"
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+
+ - name: Install Bun
+ uses: oven-sh/setup-bun@v2.0.2
+ with:
+ bun-version: 1.2.2
+
+ - name: Install dependencies
+ working-directory: apps/web
+ run: bun install
+
+ - name: Build
+ working-directory: apps/web
+ run: bun run build
+
+ - name: Run tests
+ working-directory: apps/web
+ run: echo "No tests implemented yet"
+ continue-on-error: true