Skip to content

Commit 67fa6b1

Browse files
committed
feat WIP: fix cypress
1 parent 1b47302 commit 67fa6b1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/e2e_testing.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
- name: Cypress run
1111
uses: cypress-io/github-action@v6
1212
with:
13-
build: npm run build
14-
start: npm start
13+
build: npm run --max_old_space_size=12288 build
14+
start: npm --max_old_space_size=12288 start
1515
browser: chrome

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"scripts": {
4343
"start": "react-scripts --max_old_space_size=12288 start",
44-
"build": "react-scripts --max_old_space_size=4096 build",
44+
"build": "react-scripts --max_old_space_size=12288 build",
4545
"compile": "rm -rf dist && NODE_ENV=production babel --ignore tests,stories ./src --out-dir ./dist",
4646
"test": "react-scripts test --env=jsdom --verbose --testPathIgnorePatterns=./src/__tests__/fixtures/",
4747
"test:coverage": "CI=true react-scripts test --env=jsdom --verbose --testPathIgnorePatterns=./src/__tests__/fixtures/ --coverage",

0 commit comments

Comments
 (0)