Skip to content

Commit 5a9678f

Browse files
Update dependency node to v24 (#109)
* Update dependency node to v24 * Upgrade ML * write * fix * ml config * lint fix * 22 * 20 * [MegaLinter] Apply linters fixes --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nicolas Vuillamy <[email protected]> Co-authored-by: nvuillam <[email protected]>
1 parent 31cad82 commit 5a9678f

File tree

9 files changed

+38
-37
lines changed

9 files changed

+38
-37
lines changed

.github/workflows/deploy-ALPHA.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#######################################
88
# Start the job on all push to master #
99
#######################################
10-
name: "Build & Deploy - ALPHA"
10+
name: 'Build & Deploy - ALPHA'
1111
on:
1212
push:
1313
branches:
@@ -24,15 +24,15 @@ jobs:
2424
name: Build & Deploy alpha
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v5
2828
# Setup .npmrc file to publish to npm
2929
- uses: actions/setup-node@v6
3030
with:
31-
node-version: "22.x"
32-
registry-url: "https://registry.npmjs.org"
31+
node-version: '24.x'
32+
registry-url: 'https://registry.npmjs.org'
3333
always-auth: true
3434
# Defaults to the user or organization that owns the workflow file
35-
scope: "nvuillam"
35+
scope: 'nvuillam'
3636
- run: yarn
3737
- run: yarn config set version-git-tag false
3838
- run: ALPHAID=$(date '+%Y%m%d%H%M') && yarn version --prepatch --preid="alpha$ALPHAID"

.github/workflows/deploy-BETA.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
#######################################
88
# Start the job on all push to master #
99
#######################################
10-
name: "Build & Deploy - Beta"
10+
name: 'Build & Deploy - Beta'
1111
on:
1212
push:
1313
branches:
14-
- "main"
14+
- 'main'
1515

1616
permissions: read-all
1717

@@ -23,15 +23,15 @@ jobs:
2323
name: Deploy beta
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727
# Setup .npmrc file to publish to npm
2828
- uses: actions/setup-node@v6
2929
with:
30-
node-version: "22.x"
31-
registry-url: "https://registry.npmjs.org"
30+
node-version: '24.x'
31+
registry-url: 'https://registry.npmjs.org'
3232
always-auth: true
3333
# Defaults to the user or organization that owns the workflow file
34-
scope: "nvuillam"
34+
scope: 'nvuillam'
3535
- run: yarn
3636
- run: yarn config set version-git-tag false
3737
- run: BETAID=$(date '+%Y%m%d%H%M') && yarn version --prepatch --preid="beta$BETAID"

.github/workflows/deploy-RELEASE.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
#######################################
88
# Start the job on all push to master #
99
#######################################
10-
name: "Build & Deploy - RELEASE"
10+
name: 'Build & Deploy - RELEASE'
1111
on:
1212
release:
1313
# Want to run the automation when a release is created
14-
types: ["created"]
14+
types: ['created']
1515

1616
permissions: read-all
1717

@@ -22,14 +22,14 @@ jobs:
2222
deploy:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@v5
2626
# Setup .npmrc file to publish to npm
2727
- uses: actions/setup-node@v6
2828
with:
29-
node-version: "22.x"
30-
registry-url: "https://registry.npmjs.org"
29+
node-version: '24.x'
30+
registry-url: 'https://registry.npmjs.org'
3131
# Defaults to the user or organization that owns the workflow file
32-
scope: "nvuillam"
32+
scope: 'nvuillam'
3333
- run: yarn
3434
- run: yarn publish
3535
env:

.github/workflows/github-dependents-info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
steps:
3131
# Git Checkout
3232
- name: Checkout Code
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v5
3434
with:
3535
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
3636
fetch-depth: 0

.github/workflows/mega-linter.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
# MegaLinter GitHub Action configuration file
3-
# More info at https://oxsecurity.github.io/megalinter
3+
# More info at https://megalinter.io
44
name: MegaLinter
55

66
on:
@@ -32,7 +32,7 @@ jobs:
3232
steps:
3333
# Git Checkout
3434
- name: Checkout Code
35-
uses: actions/checkout@v4
35+
uses: actions/checkout@v5
3636
with:
3737
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
3838
fetch-depth: 0
@@ -56,6 +56,7 @@ jobs:
5656
uses: actions/upload-artifact@v4
5757
with:
5858
name: MegaLinter reports
59+
include-hidden-files: 'true'
5960
path: |
6061
megalinter-reports
6162
mega-linter.log
@@ -82,7 +83,7 @@ jobs:
8283
run: sudo chown -Rc $UID .git/
8384
- name: Commit and push applied linter fixes
8485
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
85-
uses: stefanzweifel/git-auto-commit-action@v5
86+
uses: stefanzweifel/git-auto-commit-action@v6
8687
with:
8788
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
8889
commit_message: '[MegaLinter] Apply linters fixes'

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#######################################
88
# Start the job on all push to master #
99
#######################################
10-
name: "Test"
10+
name: 'Test'
1111
on:
1212
push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
1313
pull_request:
@@ -23,13 +23,13 @@ jobs:
2323
runs-on: ubuntu-latest
2424
if: (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) && !contains(github.event.head_commit.message, 'skip deploy')
2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727
# Setup .npmrc file to publish to npm
2828
- uses: actions/setup-node@v6
2929
with:
30-
node-version: "22.x"
31-
registry-url: "https://registry.npmjs.org"
30+
node-version: '24.x'
31+
registry-url: 'https://registry.npmjs.org'
3232
# Defaults to the user or organization that owns the workflow file
33-
scope: "nvuillam"
33+
scope: 'nvuillam'
3434
- run: yarn
3535
- run: yarn test

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Beta
44

5-
- Upgrade NodeJs minimum version to Node 22
5+
- Upgrade NodeJs minimum version to Node 20
66
- Fix yarn dependencies warnings
77

88
## [3.2.0] 2024-08-22

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@ava/typescript": "^6.0.0",
6161
"@istanbuljs/nyc-config-typescript": "^1.0.2",
6262
"@types/fs-extra": "^11.0.4",
63-
"@types/node": "^22.0.0",
63+
"@types/node": "^24.0.0",
6464
"@typescript-eslint/eslint-plugin": "^8.0.0",
6565
"@typescript-eslint/parser": "^8.0.0",
6666
"ava": "^6.0.0",

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -914,12 +914,12 @@
914914
resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.8.tgz#50d680c8a8a78fe30abe6906453b21ad8ab0ad7b"
915915
integrity sha512-YofkM6fGv4gDJq78g4j0mMuGMkZVxZDgtU0JRdx6FgiJDG+0fY0GKVolOV8WqVmEhLCXkQRjwDdKyPxJp/uucg==
916916

917-
"@types/node@^22.0.0":
918-
version "22.9.0"
919-
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.9.0.tgz#b7f16e5c3384788542c72dc3d561a7ceae2c0365"
920-
integrity sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==
917+
"@types/node@^24.0.0":
918+
version "24.10.1"
919+
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.10.1.tgz#91e92182c93db8bd6224fca031e2370cef9a8f01"
920+
integrity sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==
921921
dependencies:
922-
undici-types "~6.19.8"
922+
undici-types "~7.16.0"
923923

924924
"@types/sarif@^2.1.7":
925925
version "2.1.7"
@@ -4093,10 +4093,10 @@ unbox-primitive@^1.0.2:
40934093
has-symbols "^1.0.3"
40944094
which-boxed-primitive "^1.0.2"
40954095

4096-
undici-types@~6.19.8:
4097-
version "6.19.8"
4098-
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02"
4099-
integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==
4096+
undici-types@~7.16.0:
4097+
version "7.16.0"
4098+
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.16.0.tgz#ffccdff36aea4884cbfce9a750a0580224f58a46"
4099+
integrity sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==
41004100

41014101
unicorn-magic@^0.1.0:
41024102
version "0.1.0"

0 commit comments

Comments
 (0)