File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 3
3
on : push
4
4
5
5
jobs :
6
- deploy :
6
+ test-python :
7
+ name : Test (Python)
7
8
runs-on : ubuntu-latest
8
9
steps :
9
10
- uses : actions/checkout@v3
14
15
cache : poetry
15
16
- run : poetry install
16
17
- run : poetry run black --check .
18
+
19
+ test-js :
20
+ name : Test (JavaScript)
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - uses : actions/checkout@v3
24
+ - uses : actions/setup-node@v3
25
+ with :
26
+ node-version : ' 20.x'
27
+ cache : yarn
28
+ - run : yarn
29
+ - run : yarn lint
Original file line number Diff line number Diff line change 11
11
"prettier" : " 3.0.2"
12
12
},
13
13
"scripts" : {
14
- "format" : " yarn prettier prose/static/prose --write"
14
+ "prettier:base" : " yarn prettier prose/static/prose" ,
15
+ "lint" : " yarn prettier:base --check" ,
16
+ "format" : " yarn prettier:base --write"
15
17
}
16
18
}
You can’t perform that action at this time.
0 commit comments