Skip to content

Commit f021281

Browse files
authored
chore: update node version to latest LTS (#2129)[deploy site]
* chore: update node version to latest LTS * [ci]: use node 22.x for js code samples
1 parent b737aed commit f021281

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/js-examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ jobs:
8282
if: matrix.release == 'stable'
8383
uses: actions/setup-node@v4
8484
with:
85-
node-version: '18.x'
85+
node-version: '22.x'
8686
- name: Setup Node Nightly
8787
if: matrix.release == 'nightly'
8888
uses: actions/setup-node@v4
8989
with:
90-
node-version: '18.x'
90+
node-version: '22.x'
9191
registry-url: 'https://npm.pkg.github.com'
9292
- name: Use Nightly package.json in Ubuntu/macOS
9393
if: matrix.release == 'nightly' && matrix.os != 'windows'

netlify.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ publish = "website_and_docs/public"
33
command = "chmod +x build-site.sh && ./build-site.sh"
44

55
[context.production.environment]
6-
NODE_VERSION = "18.14.1"
6+
NODE_VERSION = "22.13.0"
77
HUGO_VERSION = "0.125.4"
88
GO_VERSION = "1.20.1"
99
HUGO_ENV = "production"
@@ -12,14 +12,14 @@ HUGO_ENV = "production"
1212
command = "chmod +x build-site.sh && ./build-site.sh"
1313

1414
[context.deploy-preview.environment]
15-
NODE_VERSION = "18.14.1"
15+
NODE_VERSION = "22.13.0"
1616
HUGO_VERSION = "0.125.4"
1717
GO_VERSION = "1.20.1"
1818

1919
[context.branch-deploy]
2020
command = "chmod +x build-site.sh && ./build-site.sh"
2121

2222
[context.branch-deploy.environment]
23-
NODE_VERSION = "18.14.1"
23+
NODE_VERSION = "22.13.0"
2424
HUGO_VERSION = "0.125.4"
2525
GO_VERSION = "1.20.1"

0 commit comments

Comments
 (0)