Skip to content

Commit 09b2c53

Browse files
committed
TASK-10510: Bump of NodeJS version to 22.x
Signed-off-by: Doug Koerich <[email protected]>
1 parent cba3454 commit 09b2c53

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

.github/workflows/cypress.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [16.x]
17+
node-version: [22.x]
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222
- name: Cypress run
23-
uses: cypress-io/github-action@v2
23+
uses: cypress-io/github-action@v6.8.0
2424
with:
2525
build: npm run build
2626
start: npm start

.github/workflows/index.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121
# Steps represent a sequence of tasks that will be executed as part of the job
2222
steps:
2323
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24-
- uses: actions/checkout@v2
24+
- uses: actions/checkout@v4
2525

2626
- name: Setup Node.js
27-
uses: actions/setup-node@v2
27+
uses: actions/setup-node@v4
2828
with:
29-
node-version: '14'
29+
node-version: '22'
3030

3131
- name: Cache dependencies
3232
uses: actions/cache@v4

.github/workflows/labeller.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
steps:
1010
- uses: actions/setup-node@v4
1111
with:
12-
node-version: '16.x'
13-
- uses: actions/labeler@v2
12+
node-version: '22.x'
13+
- uses: actions/labeler@v5
1414
with:
1515
repo-token: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/lighthouse.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,36 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [16.x]
15+
node-version: [22.x]
1616

1717
steps:
18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919
- uses: actions/cache@v4
2020
with:
2121
path: ~/.npm
2222
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
2323
restore-keys: |
2424
${{ runner.os }}-node-
2525
- name: Use Node.js ${{ matrix.node-version }}
26-
uses: actions/setup-node@v2
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
- name: Install dependencies
30-
uses: bahmutov/npm-install@v1
30+
uses: bahmutov/npm-install@v1.10.0
3131
- name: Run build
3232
env:
3333
CANCEL_SENTRY_CLI: true
3434
CYPRESS_SAMPLE_SIZE: 10
3535
run: npm run build
3636
- name: Wait for the Netlify Preview
37-
uses: jakepartusch/wait-for-netlify-action@v1
37+
uses: jakepartusch/wait-for-netlify-action@v1.4
3838
id: netlify
3939
with:
4040
site_name: 'support-docs'
4141
# Unfortunately our build time is ~20min, so I'm setting the timeout to 22min.
4242
max_timeout: 1320
4343
- name: Audit URLs using Lighthouse
44-
uses: treosh/lighthouse-ci-action@v8
44+
uses: treosh/lighthouse-ci-action@v12
4545
with:
4646
urls: |
4747
${{ steps.netlify.outputs.url }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ _**This is not a required step in contributing to the documentation**_
153153

154154
### Node Version
155155

156-
16.12.0
156+
22.16.x
157157

158158
### Installation
159159

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "support-docs",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"private": true,
55
"engines": {
6-
"node": "=16.12.0"
6+
"node": "^22.16.0"
77
},
88
"scripts": {
99
"predev": "npm run build:images",

0 commit comments

Comments
 (0)