Skip to content

Commit f680ca4

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

File tree

4 files changed

+13
-19
lines changed

4 files changed

+13
-19
lines changed

.github/workflows/eslint.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ jobs:
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

.github/workflows/markdown-lint.yml

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

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

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

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,18 @@ on: # yamllint disable-line rule:truthy
1111

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

.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)