Skip to content

Commit 767c1cc

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] Node.js based workflows with fixed versions 22.* moved to 22.x
1 parent 03ab8f7 commit 767c1cc

File tree

4 files changed

+16
-22
lines changed

4 files changed

+16
-22
lines changed

.github/workflows/eslint.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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 .
@@ -59,6 +66,7 @@ jobs:
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:

.github/workflows/markdown-lint.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,18 @@ on: # yamllint disable-line rule:truthy
1111
workflow_dispatch:
1212

1313
jobs:
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

.github/workflows/node-coverage.js.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,17 @@ on: # yamllint disable-line rule:truthy
1212

1313
jobs:
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

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
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

0 commit comments

Comments
 (0)