From c1477329e514b097892d23fc0b40d629d97732f3 Mon Sep 17 00:00:00 2001 From: scffs Date: Fri, 8 Dec 2023 00:11:03 +0700 Subject: [PATCH] wip --- .github/workflows/build-api.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-api.yml b/.github/workflows/build-api.yml index 0e8399f..17976f9 100644 --- a/.github/workflows/build-api.yml +++ b/.github/workflows/build-api.yml @@ -1,21 +1,21 @@ name: Build API -on: - push: +on: + push: branches: [ "master" ] - pull_request: + pull_request: branches: [ "master" ] -jobs: - build-api: +jobs: + build-api: runs-on: ubuntu-latest - steps: + steps: - name: Checkout repository uses: actions/checkout@v2 - name: Setup Bun uses: oven-sh/setup-bun@v1 - with: + with: bun-version: 1.0.11 # or "latest", "canary", - name: Install dependencies @@ -24,6 +24,7 @@ jobs: - name: Install dependencies in API run: | cd apps/api + bun add @prisma/client bun i - name: API build