Skip to content

Commit

Permalink
fix: run biome from script
Browse files Browse the repository at this point in the history
  • Loading branch information
alevidals committed Apr 5, 2024
1 parent 1c17046 commit 2ad086d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Biome
uses: biomejs/setup-biome@v2
- uses: pnpm/action-setup@v3
with:
version: latest
version: 8
run_install: true
- name: Run Biome
working-directory: ./src
run: biome ci .
run: pnpm ci:biome
tests:
needs: biome
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"lint": "biome lint ./src",
"lint:fix": "biome lint src/ --apply",
"format": "biome format ./src",
"format:fix": "biome format ./src --write"
"format:fix": "biome format ./src --write",
"ci:biome": "biome ci ."
},
"dependencies": {
"@hookform/resolvers": "3.3.4",
Expand Down

0 comments on commit 2ad086d

Please sign in to comment.