File tree Expand file tree Collapse file tree 4 files changed +400
-405
lines changed Expand file tree Collapse file tree 4 files changed +400
-405
lines changed Original file line number Diff line number Diff line change 6
6
- " main"
7
7
pull_request :
8
8
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
9
13
permissions :
10
14
contents : read
11
15
17
21
matrix :
18
22
os : [ubuntu-latest]
19
23
node-version : [20]
24
+ fail-fast : false
20
25
21
26
steps :
22
27
- uses : actions/checkout@v4
26
31
- uses : actions/setup-node@v4
27
32
with :
28
33
node-version : ${{ matrix.node-version }}
29
-
30
- - name : Cache node_modules
31
- id : cache-node_modules
32
- uses : actions/cache@v4
33
- with :
34
- path : node_modules
35
- key : node_modules-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
34
+ cache : npm
36
35
37
36
- name : npm ci
38
- if : steps.cache-node_modules.outputs.cache-hit != 'true'
39
37
run : npm ci --no-audit
40
38
41
39
- name : ESLint - flat
Original file line number Diff line number Diff line change 6
6
- " main"
7
7
pull_request :
8
8
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
9
13
permissions :
10
14
contents : read
11
15
17
21
matrix :
18
22
os : [ubuntu-latest, windows-latest, macOS-latest]
19
23
node-version : [16, 18, 20, 22]
24
+ fail-fast : false
20
25
21
26
steps :
22
27
- uses : actions/checkout@v4
26
31
- uses : actions/setup-node@v4
27
32
with :
28
33
node-version : ${{ matrix.node-version }}
29
-
30
- - name : Cache node_modules
31
- id : cache-node_modules
32
- uses : actions/cache@v4
33
- with :
34
- path : node_modules
35
- key : node_modules-${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('package-lock.json') }}
34
+ cache : npm
36
35
37
36
- name : npm ci
38
- if : steps.cache-node_modules.outputs.cache-hit != 'true'
39
37
run : npm ci --no-audit
40
38
41
39
- name : Jest - flat
Original file line number Diff line number Diff line change 1
- type Config = {
2
- rules : Record < string , 0 | "off" > ;
3
- } ;
1
+ export const name : 'config-prettier' | undefined ;
4
2
5
- declare const config : Config ;
6
-
7
- export = config ;
3
+ export const rules : Record < string , 0 | "off" > ;
You can’t perform that action at this time.
0 commit comments