Skip to content

Commit da2ff7b

Browse files
committed
downgrade react scripts
Downgrade React Scripts to 3.4.0 due to facebook/create-react-app#9322
1 parent 101b159 commit da2ff7b

File tree

4 files changed

+1603
-1551
lines changed

4 files changed

+1603
-1551
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
CI: true
2727

2828
- name: Build
29-
run: yarn demo
29+
run: yarn build
3030
env:
3131
PUBLIC_URL: /treebank-react
3232

@@ -35,5 +35,5 @@ jobs:
3535
with:
3636
GITHUB_TOKEN: ${{ github.token }}
3737
BRANCH: gh-pages
38-
FOLDER: demo
38+
FOLDER: build
3939
CLEAN: true

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run tests
1+
name: test
22

33
on: [push, pull_request]
44

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"prop-types": "^15.7.2",
1717
"react": "^16.13.1",
1818
"react-dom": "^16.13.1",
19-
"react-scripts": "3.4.3",
19+
"react-scripts": "3.4.0",
2020
"react-test-renderer": "^16.14.0",
2121
"xml2js": "^0.4.23"
2222
},

0 commit comments

Comments
 (0)