From 17b990fb85e8d9e8e6fff4e02b7f9f3157ebae62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= <35407363+EniumRaphael@users.noreply.github.com> Date: Sat, 16 Aug 2025 22:29:25 +0200 Subject: [PATCH] fix(github/workflow): now the workflow seems work --- .github/workflows/bun.yml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bun.yml b/.github/workflows/bun.yml index 2f9ef51..2e68bc3 100644 --- a/.github/workflows/bun.yml +++ b/.github/workflows/bun.yml @@ -1,11 +1,24 @@ -name: my-workflow +name: CI + +on: + push: + branches: [ main ] + pull_request: + +permissions: + contents: read + jobs: - my-job: - name: my-job + build: + name: Build & Typecheck runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v4 - - uses: oven-sh/setup-bun@v2 - - run: bun install - - run: bun index.ts - - run: bun run build + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Bun + uses: oven-sh/setup-bun@v2 + - name: Install dependencies (cached) + run: bun install --frozen-lockfile + - name: Build + run: bun run build