File tree Expand file tree Collapse file tree 4 files changed +16
-22
lines changed Expand file tree Collapse file tree 4 files changed +16
-22
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,20 @@ jobs:
4343 - name : Checkout code
4444 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
4545
46+ - name : Set up Node.js
47+ uses : actions/setup-node@v4
48+ with :
49+ node-version : 22.x
50+
4651 - name : Install ESLint
4752 run : |
4853 npm install --include=dev eslint@8.57.0
4954 npm install --include=dev @microsoft/eslint-formatter-sarif@3.0.0
55+
5056 - name : Test ESLint
5157 run : |
5258 npx --yes eslint --env-info
59+
5360 - name : Run ESLint
5461 run : >
5562 npx eslint .
5966 --format @microsoft/eslint-formatter-sarif
6067 --output-file eslint-results.sarif
6168 continue-on-error : true
69+
6270 - name : Upload analysis results to GitHub
6371 uses : github/codeql-action/upload-sarif@v3
6472 with :
Original file line number Diff line number Diff line change @@ -11,25 +11,18 @@ on: # yamllint disable-line rule:truthy
1111 workflow_dispatch :
1212
1313jobs :
14- build :
15-
14+ lint :
15+ name : Markdown Lint
1616 runs-on : ubuntu-latest
1717
18- strategy :
19- matrix :
20- os : ["ubuntu-latest"]
21- node-version : [20.x]
22- # See supported Node.js release schedule
23- # at https://nodejs.org/en/about/releases/
24-
2518 steps :
2619 - name : Checkout repository
2720 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2821
29- - name : Set up Node.js ${{ matrix.node-version }}
22+ - name : Set up Node.js
3023 uses : actions/setup-node@v4
3124 with :
32- node-version : ${{ matrix.node-version }}
25+ node-version : 22.x
3326
3427 - name : Install dependencies
3528 run : npm install -g markdownlint-cli
Original file line number Diff line number Diff line change @@ -12,24 +12,17 @@ on: # yamllint disable-line rule:truthy
1212
1313jobs :
1414 build :
15-
1615 runs-on : ubuntu-latest
17-
18- strategy :
19- matrix :
20- node-version : [22.5.1]
21- # See supported Node.js release schedule
22- # at https://nodejs.org/en/about/releases/
23-
2416 steps :
2517 - name : Checkout repository
2618 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2719 with :
2820 fetch-depth : 0
29- - name : Set up Node.js ${{ matrix.node-version }}
21+
22+ - name : Set up Node.js
3023 uses : actions/setup-node@v4
3124 with :
32- node-version : ${{ matrix.node-version }}
25+ node-version : 22.x
3326
3427 - name : Install dependencies
3528 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