refactor(schema): modularize schema definitions #457
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π Push Checks Workflow | |
on: | |
push: | |
branches-ignore: | |
- main | |
workflow_dispatch: | |
jobs: | |
checks: | |
name: π«Έ Push Checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: π₯ Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: 𧬠Setup Biome | |
uses: biomejs/setup-biome@v2 | |
- name: π£ Retrieve Git REF | |
run: echo "GIT_REF=$(git rev-parse origin/main)" >> $GITHUB_ENV | |
- name: π Debug Git REF | |
run: echo "${{ env.GIT_REF }}" | |
- name: π Format code (with Biome) | |
continue-on-error: true | |
run: | | |
biome check \ | |
--write \ | |
--changed \ | |
--since=${{ env.GIT_REF }} \ | |
--formatter-enabled=true \ | |
--linter-enabled=false \ | |
--organize-imports-enabled=true \ | |
--vcs-enabled=true \ | |
--vcs-use-ignore-file=true \ | |
--no-errors-on-unmatched \ | |
--log-level=warn \ | |
--reporter=github \ | |
. | |
- name: π¦ Git Auto Commit Lint fixes (with Biome) | |
uses: stefanzweifel/[email protected] | |
with: | |
commit_message: "chore: lint code with Biome [skip ci]" |