File tree 5 files changed +32
-21
lines changed
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:
23
23
24
24
jobs :
25
25
prettier :
26
- name : Format with Prettier
26
+ name : Run prettier check
27
27
runs-on : ubuntu-22.04
28
28
timeout-minutes : 5
29
29
steps :
30
30
- name : Checkout repo
31
31
uses : actions/checkout@v4
32
32
33
- - name : Run prettier with actionsx/prettier
34
- uses : actionsx/prettier@v3
33
+ - name : Install Node.js
34
+ uses : actions/setup-node@v4
35
35
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 .
37
45
38
46
doctoc :
39
47
name : Doctoc markdown files
Original file line number Diff line number Diff line change 61
61
"eslint-plugin-import" : " ^2.28.1" ,
62
62
"eslint-plugin-prettier" : " ^5.0.0" ,
63
63
"globals" : " ^15.10.0" ,
64
- "prettier" : " ^3.0.3 " ,
64
+ "prettier" : " 3.4.2 " ,
65
65
"prettier-plugin-sh" : " ^0.14.0" ,
66
66
"ts-node" : " ^10.9.1" ,
67
67
"typescript" : " ^5.6.2" ,
Original file line number Diff line number Diff line change @@ -118,18 +118,18 @@ interface Option<T> {
118
118
type OptionType < T > = T extends boolean
119
119
? "boolean"
120
120
: 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"
133
133
134
134
export type Options < T > = {
135
135
[ P in keyof T ] : Option < OptionType < T [ P ] > >
You can’t perform that action at this time.
0 commit comments