File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - " main"
77 pull_request :
88
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
913permissions :
1014 contents : read
1115
1721 matrix :
1822 os : [ubuntu-latest]
1923 node-version : [20]
24+ fail-fast : false
2025
2126 steps :
2227 - uses : actions/checkout@v4
2631 - uses : actions/setup-node@v4
2732 with :
2833 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
3635
3736 - name : npm ci
38- if : steps.cache-node_modules.outputs.cache-hit != 'true'
3937 run : npm ci --no-audit
4038
4139 - name : ESLint - flat
Original file line number Diff line number Diff line change 66 - " main"
77 pull_request :
88
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
12+
913permissions :
1014 contents : read
1115
1721 matrix :
1822 os : [ubuntu-latest, windows-latest, macOS-latest]
1923 node-version : [16, 18, 20, 22]
24+ fail-fast : false
2025
2126 steps :
2227 - uses : actions/checkout@v4
2631 - uses : actions/setup-node@v4
2732 with :
2833 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
3635
3736 - name : npm ci
38- if : steps.cache-node_modules.outputs.cache-hit != 'true'
3937 run : npm ci --no-audit
4038
4139 - 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 ;
42
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