You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/main.yml
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -24,12 +24,12 @@ jobs:
24
24
25
25
strategy:
26
26
matrix:
27
-
node-version: [20.x, 22.x]
27
+
node-version: [22.x, 24.x]
28
28
29
29
steps:
30
-
- uses: actions/checkout@v3
30
+
- uses: actions/checkout@v6
31
31
- name: Use Node.js ${{ matrix.node-version }}
32
-
uses: actions/setup-node@v3
32
+
uses: actions/setup-node@v6
33
33
with:
34
34
node-version: ${{ matrix.node-version }}
35
35
- run: env | sort
@@ -38,7 +38,7 @@ jobs:
38
38
run: npm install react react-dom prop-types
39
39
- run: npm install
40
40
- name: Install example
41
-
run: cd ./example && npm install && cd ..
41
+
run: cd ./example && npm install --legacy-peer-deps && cd ..
42
42
43
43
- run: npm run build
44
44
- name: Run Cypress tests
@@ -50,13 +50,13 @@ jobs:
50
50
buildDemo:
51
51
runs-on: ubuntu-latest
52
52
steps:
53
-
- uses: actions/checkout@v3
53
+
- uses: actions/checkout@v6
54
54
- name: Install React
55
55
run: npm install react react-dom prop-types
56
56
- run: npm install
57
57
- run: npm run build
58
58
- name: Install example
59
-
run: cd ./example && npm install && cd ..
59
+
run: cd ./example && npm install --legacy-peer-deps && cd ..
60
60
61
61
# 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
0 commit comments