File tree Expand file tree Collapse file tree 4 files changed +13
-19
lines changed
Expand file tree Collapse file tree 4 files changed +13
-19
lines changed Original file line number Diff line number Diff line change 4545 - name : Checkout code
4646 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
4747
48+ - name : Set up Node.js
49+ uses : actions/setup-node@v4
50+ with :
51+ node-version : 22.x
52+
4853 - name : Install ESLint
4954 run : |
5055 npm install --include=dev eslint@8.57.0
Original file line number Diff line number Diff line change @@ -11,23 +11,18 @@ on: # yamllint disable-line rule:truthy
1111 workflow_dispatch :
1212
1313jobs :
14- build :
15- strategy :
16- matrix :
17- node-version : [20.x]
18- # See supported Node.js release schedule
19- # at https://nodejs.org/en/about/releases/
20-
14+ lint :
15+ name : Markdown Lint
2116 runs-on : ubuntu-latest
2217
2318 steps :
2419 - name : Checkout repository
2520 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2621
27- - name : Set up Node.js ${{ matrix.node-version }}
22+ - name : Set up Node.js
2823 uses : actions/setup-node@v4
2924 with :
30- node-version : ${{ matrix.node-version }}
25+ node-version : 22.x
3126
3227 - name : Install dependencies
3328 run : npm install -g markdownlint-cli
Original file line number Diff line number Diff line change @@ -11,24 +11,18 @@ on: # yamllint disable-line rule:truthy
1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
1615
17- strategy :
18- matrix :
19- node-version : [22.5.1]
20- # See supported Node.js release schedule
21- # at https://nodejs.org/en/about/releases/
22-
2316 steps :
2417 - name : Checkout repository
2518 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2619 with :
2720 fetch-depth : 0
28- - name : Set up Node.js ${{ matrix.node-version }}
21+
22+ - name : Set up Node.js
2923 uses : actions/setup-node@v4
3024 with :
31- node-version : ${{ matrix.node-version }}
25+ node-version : 22.x
3226
3327 - name : Install dependencies
3428 run : npm ci --verbose
Original file line number Diff line number Diff line change 2020 " ubuntu-latest" ,
2121 " macOS-latest"
2222 ]
23- node-version : [18.x, 20.x, 22.5.1 ]
23+ node-version : [18.x, 20.x, 22.x ]
2424 # See supported Node.js release schedule
2525 # at https://nodejs.org/en/about/releases/
2626
You can’t perform that action at this time.
0 commit comments