Skip to content

Commit 03c8040

Browse files
authored
Upgrade yaml-eslint-parser (#131)
* Upgrade yaml-eslint-parser * Update package.json * update ci
1 parent 9722e1f commit 03c8040

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/NodeCI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121
test:
2222
strategy:
2323
matrix:
24-
node-version: [12.x, 14.x, 16.x, 17.x, 18.x]
24+
node-version: [14.x, 16.x, 17.x, 18.x]
2525
os: [ubuntu-latest]
2626
include:
2727
- node: 18.x
2828
os: windows-latest
2929
- node: 18.x
3030
os: macos-latest
31-
- node: 12.x
31+
- node: 14.x
3232
os: windows-latest
33-
- node: 12.x
33+
- node: 14.x
3434
os: macos-latest
3535
runs-on: ${{ matrix.os }}
3636
steps:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"schemastore"
99
],
1010
"engines": {
11-
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
11+
"node": "^14.17.0 || >=16.0.0"
1212
},
1313
"scripts": {
1414
"prebuild": "npm run -s clean",
@@ -65,7 +65,7 @@
6565
"synckit": "^0.7.1",
6666
"toml-eslint-parser": "^0.4.0",
6767
"tunnel-agent": "^0.6.0",
68-
"yaml-eslint-parser": "^0.5.0"
68+
"yaml-eslint-parser": "^1.0.0"
6969
},
7070
"devDependencies": {
7171
"@actions/core": "^1.2.6",

tests/fixtures/rules/no-invalid/invalid/yaml-test/array-test01-errors.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"message": "\"[2]\" must be number.",
1111
"line": 5,
1212
"column": 1,
13-
"endLine": 7,
14-
"endColumn": 1
13+
"endLine": 5,
14+
"endColumn": 4
1515
}
1616
]

0 commit comments

Comments
 (0)