File tree Expand file tree Collapse file tree 3 files changed +52
-27
lines changed
Expand file tree Collapse file tree 3 files changed +52
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ prettier :
11+ name : Prettier
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout Code
15+ uses : actions/checkout@v4
16+
17+ - name : Setup Node.js
18+ uses : actions/setup-node@v3
19+ with :
20+ node-version : latest
21+ cache : npm
22+
23+ - name : Install Packages
24+ run : npm ci
25+ shell : bash
26+
27+ - name : Prettier
28+ run : npm run format:check
29+ shell : bash
30+
31+ build :
32+ name : Build
33+ runs-on : ubuntu-latest
34+ steps :
35+ - name : Checkout Code
36+ uses : actions/checkout@v4
37+
38+ - name : Setup Node.js
39+ uses : actions/setup-node@v3
40+ with :
41+ node-version : latest
42+ cache : npm
43+
44+ - name : Install Packages
45+ run : npm ci
46+ shell : bash
47+
48+ - name : Build
49+ run : npm run build
50+ shell : bash
Original file line number Diff line number Diff line change 99 "swizzle" : " docusaurus swizzle" ,
1010 "deploy" : " docusaurus deploy" ,
1111 "serve" : " docusaurus serve" ,
12- "format" : " prettier --write ."
12+ "format" : " prettier --write ." ,
13+ "format:check" : " prettier --check ."
1314 },
1415 "dependencies" : {
1516 "@docusaurus/core" : " ^2.4.1" ,
You can’t perform that action at this time.
0 commit comments