From 7bcdd18a5dd2e5d183838e48eec53c1ccd45ca7d Mon Sep 17 00:00:00 2001 From: tomolld Date: Sun, 28 Jul 2024 13:16:14 +0900 Subject: [PATCH] chore: Update Biome Check workflow and remove unused biome.json file --- .github/workflows/biome.yaml | 29 +++++++++++------------------ web/biome.json => biome.json | 0 2 files changed, 11 insertions(+), 18 deletions(-) rename web/biome.json => biome.json (100%) diff --git a/.github/workflows/biome.yaml b/.github/workflows/biome.yaml index c4bcf83..2e45f3c 100644 --- a/.github/workflows/biome.yaml +++ b/.github/workflows/biome.yaml @@ -1,26 +1,19 @@ -name: Biome Check for Web +name: Biome Check on: - pull_request: push: - paths: - - .github/workflows/biome.yaml + pull_request: + workflow_dispatch: jobs: - biome-check-for-web: + biome-check: runs-on: ubuntu-latest - permissions: - contents: read steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Biome + uses: biomejs/setup-biome@v2 with: - node-version: "20" - - name: Install Bun - run: npm install -g bun - - name: Install dependencies - run: cd web && bun i - - name: Run Biome check - run: | - cd web - bunx @biomejs/biome check . \ No newline at end of file + version: latest + - name: Run Biome + run: biome ci . \ No newline at end of file diff --git a/web/biome.json b/biome.json similarity index 100% rename from web/biome.json rename to biome.json