Skip to content

Commit 2fc4bcc

Browse files
renovate[bot]dizco
andauthored
fix(deps): update all major dependencies (major) (#105)
--------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gabriel <dizco@users.noreply.github.com>
1 parent ede1583 commit 2fc4bcc

12 files changed

Lines changed: 506 additions & 441 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v6
2020
with:
2121
# We must fetch at least the immediate parents so that if this is
2222
# a pull request then we can checkout the head.
@@ -29,15 +29,15 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v1
32+
uses: github/codeql-action/init@v4
3333
# Override language selection by uncommenting this and choosing your languages (go, javascript, csharp, python, cpp, java)
3434
with:
3535
languages: javascript
3636

3737
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3838
# If this step fails, then you should remove it and run the build manually (see below)
3939
- name: Autobuild
40-
uses: github/codeql-action/autobuild@v1
40+
uses: github/codeql-action/autobuild@v4
4141

4242
# ℹ️ Command-line programs to run using the OS shell.
4343
# 📚 https://git.io/JvXDl
@@ -51,4 +51,4 @@ jobs:
5151
# make release
5252

5353
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@v1
54+
uses: github/codeql-action/analyze@v4

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ jobs:
2424

2525
strategy:
2626
matrix:
27-
node-version: [20.x, 22.x]
27+
node-version: [22.x, 24.x]
2828

2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v6
3131
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v6
3333
with:
3434
node-version: ${{ matrix.node-version }}
3535
- run: env | sort
@@ -38,7 +38,7 @@ jobs:
3838
run: npm install react react-dom prop-types
3939
- run: npm install
4040
- name: Install example
41-
run: cd ./example && npm install && cd ..
41+
run: cd ./example && npm install --legacy-peer-deps && cd ..
4242

4343
- run: npm run build
4444
- name: Run Cypress tests
@@ -50,13 +50,13 @@ jobs:
5050
buildDemo:
5151
runs-on: ubuntu-latest
5252
steps:
53-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v6
5454
- name: Install React
5555
run: npm install react react-dom prop-types
5656
- run: npm install
5757
- run: npm run build
5858
- name: Install example
59-
run: cd ./example && npm install && cd ..
59+
run: cd ./example && npm install --legacy-peer-deps && cd ..
6060

6161
# By default, react builds the index.html links with absolute paths. However, the github pages deployment is under a folder name (usually the repo name). Therefore, we must make sure that the index.html links are relative
6262
- name: Set public url
@@ -65,7 +65,7 @@ jobs:
6565
- name: Build demo
6666
run: cd ./example && npm run build && cd ..
6767
- name: Publish demo artifact
68-
uses: actions/upload-pages-artifact@v3
68+
uses: actions/upload-pages-artifact@v4
6969
with:
7070
path: ./example/build
7171

cypress/e2e/spec.cy.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/// <reference types="cypress" />
2+
13
describe('Demo page', () => {
24
beforeEach(() => {
35
cy.visit('/');

0 commit comments

Comments
 (0)