diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22a0ac7..6d89418 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,20 +8,8 @@ on: workflow_dispatch: jobs: - lint: - runs-on: ubuntu-latest - container: - image: oven/bun - steps: - - uses: actions/checkout@v4 - - name: Install Biome - run: bun install -g biome - - name: Run Biome lint - run: biome lint . - build: runs-on: ubuntu-latest - needs: lint container: image: oven/bun steps: @@ -30,6 +18,25 @@ jobs: run: bun install - name: Build run: bun run build + - name: Create Artifact + uses: actions/upload-artifact@v4 + with: + name: build + + lint: + runs-on: ubuntu-latest + needs: build + container: + image: oven/bun + steps: + - name: Download Artifact + uses: actions/download-artifact@v4 + with: + name: build + - name: Install Biome + run: bun install -g biome + - name: Run Biome lint + run: biome lint . build-and-push-docker: needs: [build]