Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Biome Check workflow and remove unused biome.json file #116

Merged
merged 1 commit into from
Jul 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 11 additions & 18 deletions .github/workflows/biome.yaml
Original file line number Diff line number Diff line change
@@ -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:

Comment on lines 3 to +6

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image description CodeRabbit

onセクションのインデントが不揃いです。YAMLファイルではインデントが重要なので、修正してください。

   push:
  pull_request:
  workflow_dispatch:
+  push:
+  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 .
version: latest
- name: Run Biome
run: biome ci .
File renamed without changes.
Loading