Skip to content

Commit 5c87153

Browse files
committed
chore: 🏗️ possible fix for github throwing error as invalid workflow file
1 parent f6eeb70 commit 5c87153

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ jobs:
2828
${{ runner.os }}-yarn-
2929
3030
- name: Install Dependencies
31-
run: |
32-
export NODE_OPTIONS="--max_old_space_size=4096"
33-
yarn install
31+
env: NODE_OPTIONS: "--max_old_space_size=4096"
32+
run: yarn install
3433

3534
- name: Build
3635
run: yarn build

.github/workflows/lint.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@ jobs:
2828
${{ runner.os }}-yarn-
2929
3030
- name: Install Dependencies
31-
run: |
32-
export NODE_OPTIONS="--max_old_space_size=4096"
33-
yarn install
31+
env: NODE_OPTIONS: "--max_old_space_size=4096"
32+
run: yarn install
3433

3534
- name: Lint
3635
run: yarn lint

0 commit comments

Comments
 (0)