Skip to content

Commit 5e04c67

Browse files
authored
hot-fix: fix ci execution (#2773)
1 parent 76ff56e commit 5e04c67

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
needs: setup-matrix
9494
if: ${{ needs.setup-matrix.outputs.matrix != '{"container":[]}' }}
9595
runs-on: ubuntu-22.04
96-
timeout-minutes: 30
96+
timeout-minutes: 60
9797
strategy:
9898
fail-fast: false
9999
matrix: ${{fromJson(needs.setup-matrix.outputs.matrix)}}
@@ -117,8 +117,7 @@ jobs:
117117
id: yarn-cache
118118
with:
119119
path: |
120-
**/node_modules
121-
**/yarn.lock
120+
/node_modules
122121
~/.cache/Cypress
123122
~/.cache/yarn/v6
124123
key: e2e-cache-${{ steps.yarn-hash.outputs.yarnHash }}
@@ -127,8 +126,10 @@ jobs:
127126
e2e-
128127
129128
- name: Install main deps
130-
# TODO Uncomment when yarn will work properly from the root and install all nessessary deps. Also please, ayarn install to the run section below instead of npx lerna exec
129+
# TODO Uncomment when yarn will work properly from the root and install all nessessary deps. Also please, add yarn install to the run section below instead of npx lerna exec
131130
# if: steps.yarn-cache.outputs.cache-hit != 'true'
131+
env:
132+
NODE_OPTIONS: "--max_old_space_size=4096"
132133
run: |
133134
yarn install
134135

.github/workflows/on-push.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,15 @@ jobs:
4141
id: yarn-cache
4242
with:
4343
path: |
44-
**/node_modules
45-
**/yarn.lock
44+
/node_modules
4645
~/.cache/Cypress
4746
~/.cache/yarn/v6
4847
key: e2e-cache-${{ steps.yarn-hash.outputs.yarnHash }}
4948

5049
- name: Install deps
5150
if: steps.yarn-cache.outputs.cache-hit != 'true'
51+
env:
52+
NODE_OPTIONS: "--max_old_space_size=4096"
5253
run: |
5354
echo "Yarn changed - install deps ... "
5455
yarn install

0 commit comments

Comments
 (0)