chore(workflow): add autofix.ci workflow for automatic code formatting with Biome

This commit is contained in:
Mauricio Siu
2025-03-29 13:39:57 -06:00
parent 4ba2b9fe8d
commit 74f7c51530
+22
View File
@@ -0,0 +1,22 @@
name: Format Code with Biome
on:
push:
branches: [canary]
pull_request:
branches: [canary]
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup biomeJs
uses: biomejs/setup-biome@v2
- name: Run Biome formatter
run: biome format . --write
- uses: autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef