Skip to content

Commit f0706fe

Browse files
authored
use biome action (#315)
1 parent 80976e9 commit f0706fe

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.github/workflows/actions.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,11 @@ jobs:
2222
- name: Checkout code
2323
uses: actions/checkout@v4
2424

25-
- name: Install Biome
26-
run: yarn add @biomejs/biome
25+
- name: Setup Biome CLI
26+
uses: biomejs/setup-biome@v2
2727

28-
- name: Run lint
29-
run: yarn ci
30-
continue-on-error: false
28+
- name: Run Biome
29+
run: biome ci src/
3130

3231
test:
3332
name: Test
@@ -53,7 +52,7 @@ jobs:
5352
strategy:
5453
fail-fast: false
5554
matrix:
56-
language: ['javascript']
55+
language: ["javascript"]
5756
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
5857
# Learn more:
5958
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"test": "vitest run --coverage"
1616
},
1717
"dependencies": {
18-
"@biomejs/biome": "^1.9.4",
18+
"@biomejs/biome": "1.9.4",
1919
"@reduxjs/toolkit": "^2.6.0",
2020
"@testing-library/react": "^16.2.0",
2121
"@testing-library/user-event": "^14.6.1",

0 commit comments

Comments
 (0)