Skip to content

Commit e84d981

Browse files
Update actions/setup-node action to v6 (#107)
* Update actions/setup-node action to v6 * Upgrade Node * ml --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Nicolas Vuillamy <[email protected]>
1 parent 9508626 commit e84d981

File tree

6 files changed

+24
-23
lines changed

6 files changed

+24
-23
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:
@@ -26,13 +26,13 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v4
2828
# Setup .npmrc file to publish to npm
29-
- uses: actions/setup-node@v4
29+
- 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: 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

@@ -25,13 +25,13 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v4
2727
# Setup .npmrc file to publish to npm
28-
- uses: actions/setup-node@v4
28+
- 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: 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

@@ -24,12 +24,12 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v4
2626
# Setup .npmrc file to publish to npm
27-
- uses: actions/setup-node@v4
27+
- 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: 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:
@@ -25,11 +25,11 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v4
2727
# Setup .npmrc file to publish to npm
28-
- uses: actions/setup-node@v4
28+
- 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: 1 addition & 1 deletion
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",

0 commit comments

Comments
 (0)