Skip to content

Commit

Permalink
f (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttizze authored Jul 27, 2024
2 parents be4cdc2 + d49c865 commit 9c0586e
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/biome.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Biome Check and Fix for Web
name: Biome Check for Web

on:
pull_request:
Expand All @@ -7,25 +7,20 @@ on:
- .github/workflows/biome.yaml

jobs:
biome-check-and-fix-for-web:
biome-check-for-web:
runs-on: ubuntu-latest
permissions:
contents: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "20"
- name: Install Bun
run: npm install -g bun
- name: Install dependencies
run: cd web && bun i
- name: Run Biome check and fix
- name: Run Biome check
run: |
cd web
bunx @biomejs/biome check --write .
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: "web/**/*"
branch: ${{ github.head_ref }}
bunx @biomejs/biome check .

0 comments on commit 9c0586e

Please sign in to comment.