File tree Expand file tree Collapse file tree 5 files changed +32
-21
lines changed Expand file tree Collapse file tree 5 files changed +32
-21
lines changed Original file line number Diff line number Diff line change 1+ # Prettier 3.4.2
2+ 9b0340a09276f93c054d705d1b9a5f24cc5dbc97
Original file line number Diff line number Diff line change @@ -23,17 +23,25 @@ concurrency:
2323
2424jobs :
2525 prettier :
26- name : Format with Prettier
26+ name : Run prettier check
2727 runs-on : ubuntu-22.04
2828 timeout-minutes : 5
2929 steps :
3030 - name : Checkout repo
3131 uses : actions/checkout@v4
3232
33- - name : Run prettier with actionsx/prettier
34- uses : actionsx/prettier@v3
33+ - name : Install Node.js
34+ uses : actions/setup-node@v4
3535 with :
36- args : --check --log-level=warn .
36+ node-version-file : .node-version
37+ cache : npm
38+ cache-dependency-path : |
39+ package-lock.json
40+ test/package-lock.json
41+
42+ - run : SKIP_SUBMODULE_DEPS=1 npm ci
43+
44+ - run : npx prettier --check .
3745
3846 doctoc :
3947 name : Doctoc markdown files
Original file line number Diff line number Diff line change 6161 "eslint-plugin-import" : " ^2.28.1" ,
6262 "eslint-plugin-prettier" : " ^5.0.0" ,
6363 "globals" : " ^15.10.0" ,
64- "prettier" : " ^3.0.3 " ,
64+ "prettier" : " 3.4.2 " ,
6565 "prettier-plugin-sh" : " ^0.14.0" ,
6666 "ts-node" : " ^10.9.1" ,
6767 "typescript" : " ^5.6.2" ,
Original file line number Diff line number Diff line change @@ -118,18 +118,18 @@ interface Option<T> {
118118type OptionType < T > = T extends boolean
119119 ? "boolean"
120120 : T extends OptionalString
121- ? typeof OptionalString
122- : T extends LogLevel
123- ? typeof LogLevel
124- : T extends AuthType
125- ? typeof AuthType
126- : T extends number
127- ? "number"
128- : T extends string
129- ? "string"
130- : T extends string [ ]
131- ? "string[]"
132- : "unknown"
121+ ? typeof OptionalString
122+ : T extends LogLevel
123+ ? typeof LogLevel
124+ : T extends AuthType
125+ ? typeof AuthType
126+ : T extends number
127+ ? "number"
128+ : T extends string
129+ ? "string"
130+ : T extends string [ ]
131+ ? "string[]"
132+ : "unknown"
133133
134134export type Options < T > = {
135135 [ P in keyof T ] : Option < OptionType < T [ P ] > >
You can’t perform that action at this time.
0 commit comments