From 7abd0c6843a7577cc0148315f8ff1bbb7e39b1a0 Mon Sep 17 00:00:00 2001 From: Rafi Arrafif Date: Sat, 13 Sep 2025 13:13:43 +0700 Subject: [PATCH] :construction_worker: (ci) adding github ci into workflow --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4d43cd6 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v5 + + - name: Install Bun + uses: oven-sh/setup-bun@v2 + with: + bun-version: stable + + - name: Install dependencies + run: bun install + + - name: Run lint + run: bun run lint + + - name: Run build + run: bun run build \ No newline at end of file