Skip to content

Commit effa3c4

Browse files
committed
Upgrade Node
1 parent 1493172 commit effa3c4

File tree

6 files changed

+21
-20
lines changed

6 files changed

+21
-20
lines changed

.github/workflows/deploy-ALPHA.yml

Lines changed: 4 additions & 4 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:
@@ -28,11 +28,11 @@ jobs:
2828
# Setup .npmrc file to publish to npm
2929
- uses: actions/setup-node@v6
3030
with:
31-
node-version: '18.x'
32-
registry-url: 'https://registry.npmjs.org'
31+
node-version: "22.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: 5 additions & 5 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

@@ -27,11 +27,11 @@ jobs:
2727
# Setup .npmrc file to publish to npm
2828
- uses: actions/setup-node@v6
2929
with:
30-
node-version: '18.x'
31-
registry-url: 'https://registry.npmjs.org'
30+
node-version: "22.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: 5 additions & 5 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

@@ -26,10 +26,10 @@ jobs:
2626
# Setup .npmrc file to publish to npm
2727
- uses: actions/setup-node@v6
2828
with:
29-
node-version: '18.x'
30-
registry-url: 'https://registry.npmjs.org'
29+
node-version: "22.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/test.yml

Lines changed: 4 additions & 4 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:
@@ -27,9 +27,9 @@ jobs:
2727
# Setup .npmrc file to publish to npm
2828
- uses: actions/setup-node@v6
2929
with:
30-
node-version: '18.x'
31-
registry-url: 'https://registry.npmjs.org'
30+
node-version: "22.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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Beta
44

5+
- Upgrade NodeJs minimum version to Node 22
56
- Fix yarn dependencies warnings
67

78
## [3.2.0] 2024-08-22

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"prepublish": "tsc"
4242
},
4343
"engines": {
44-
"node": ">=18"
44+
"node": ">=20"
4545
},
4646
"files": [
4747
"dist",
@@ -102,4 +102,4 @@
102102
"**/*.spec.js"
103103
]
104104
}
105-
}
105+
}

0 commit comments

Comments
 (0)