Skip to content

Commit c9c1983

Browse files
committed
TASK-6694: Fixing build with netlify
Signed-off-by: Doug Koerich <[email protected]>
1 parent 9c114fe commit c9c1983

File tree

7 files changed

+22
-18202
lines changed

7 files changed

+22
-18202
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: [20.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
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: '20'
3030

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

.github/workflows/labeller.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
- uses: actions/setup-node@v4
1111
with:
1212
node-version: '16.x'
13-
- uses: actions/labeler@v2
13+
- uses: actions/labeler@v5
1414
with:
1515
repo-token: '${{ secrets.GITHUB_TOKEN }}'

.github/workflows/lighthouse.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ jobs:
1515
node-version: [16.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
@@ -34,14 +34,14 @@ jobs:
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+
20+
157157

158158
### Installation
159159

0 commit comments

Comments
 (0)