From c2095f1fa2a26fb3e4dfb23c9bb5ce696c7d1396 Mon Sep 17 00:00:00 2001 From: Arthur Green Date: Thu, 9 Jan 2025 22:40:31 +0400 Subject: [PATCH] ci: add bun workflow --- .github/workflows/build-client-bun.yml | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/build-client-bun.yml diff --git a/.github/workflows/build-client-bun.yml b/.github/workflows/build-client-bun.yml new file mode 100644 index 0000000..4d4a56f --- /dev/null +++ b/.github/workflows/build-client-bun.yml @@ -0,0 +1,33 @@ +name: Build Client App + +on: + push: + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + bun-version: [latest] + defaults: + run: + working-directory: ./apps/client + steps: + - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - name: Use Bun ${{ matrix.bun-version }} + uses: oven-sh/setup-bun@v2 + with: + bun-version: latest + - name: Install dependencies + run: pnpm install --frozen-lockfile + - name: Build + run: pnpm run build + env: + VITE_GROWTH_BOOK_KEY: ${{ secrets.VITE_GROWTH_BOOK_KEY }} + - name: Upload + uses: actions/upload-artifact@v4 + with: + name: client-build_${{ matrix.bun-version }} + path: apps/client/dist/