Commit 3acae5c 1 parent dfb3bc2 commit 3acae5c Copy full SHA for 3acae5c
File tree 2 files changed +8
-33
lines changed
2 files changed +8
-33
lines changed Original file line number Diff line number Diff line change @@ -2,47 +2,23 @@ name: Code Quality
2
2
3
3
on :
4
4
push :
5
- pull_request :
6
5
workflow_dispatch :
7
6
8
7
env :
9
8
NODE_VERSION : 18
10
9
11
10
jobs :
12
- lint :
13
- name : Lint (ESLint)
11
+ check :
14
12
runs-on : ubuntu-latest
15
13
steps :
16
14
- name : Checkout
17
- uses : actions/checkout@v3
18
- - name : Setup Node.js
19
- uses : actions/setup-node@v3
20
- with :
21
- node-version : ${{ env.NODE_VERSION }}
22
- cache : yarn
23
- - name : Install dependencies
24
- run : yarn install --immutable
25
- - name : Prepare
26
- run : yarn prepare
27
- - name : Run ESLint
28
- run : yarn lint --fix=false
29
- format :
30
- name : Format (Prettier)
31
- runs-on : ubuntu-latest
32
- steps :
33
- - name : Checkout
34
- uses : actions/checkout@v3
35
- - name : Setup Node.js
36
- uses : actions/setup-node@v3
15
+ uses : actions/checkout@v4
16
+ - name : Setup Biome
17
+ uses : biomejs/setup-biome@v2
37
18
with :
38
- node-version : ${{ env.NODE_VERSION }}
39
- cache : yarn
40
- - name : Install dependencies
41
- run : yarn install --immutable
42
- - name : Prepare
43
- run : yarn prepare
44
- - name : Run Prettier
45
- run : yarn format --check
19
+ version : latest
20
+ - name : Run Biome
21
+ run : biome ci .
46
22
test :
47
23
name : Run Unit Tests (Vitest)
48
24
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 9
9
"build" : " vite build" ,
10
10
"preview" : " vite preview" ,
11
11
"test" : " vitest" ,
12
- "check" : " biome check --no-errors-on-unmatched" ,
13
- "ci" : " biome ci --no-errors-on-unmatched"
12
+ "check" : " biome check --no-errors-on-unmatched"
14
13
},
15
14
"dependencies" : {
16
15
"@fortawesome/fontawesome-svg-core" : " ^6.5.2" ,
You can’t perform that action at this time.
0 commit comments