Skip to content

Commit 2094e90

Browse files
committed
fix: turbo-args
1 parent f933367 commit 2094e90

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292

9393
- name: Build Next.js (ISR)
9494
# We want a ISR build on CI to ensure that regular Next.js builds work as expected.
95-
run: node_modules/.bin/turbo build -- ${{ env.TURBO_ARGS }}
95+
run: node_modules/.bin/turbo build ${{ env.TURBO_ARGS }}
9696
env:
9797
# We want to ensure we have enough RAM allocated to the Node.js process
9898
# this should be a last resort in case by any chances the build memory gets too high
@@ -105,7 +105,7 @@ jobs:
105105
# We only run full static builds within Pull Requests. This step is also used to export
106106
# static output in all languages, and it only works on `push` events.
107107
if: github.event_name == 'push'
108-
run: node_modules/.bin/turbo deploy -- ${{ env.TURBO_ARGS }}
108+
run: node_modules/.bin/turbo deploy ${{ env.TURBO_ARGS }}
109109
env:
110110
# We want to ensure we have enough RAM allocated to the Node.js process
111111
# this should be a last resort in case by any chances the build memory gets too high
@@ -124,7 +124,7 @@ jobs:
124124
if: |
125125
(github.event_name == 'pull_request' &&
126126
github.event.pull_request.head.ref != 'chore/crowdin')
127-
run: node_modules/.bin/turbo deploy -- ${{ env.TURBO_ARGS }}
127+
run: node_modules/.bin/turbo deploy ${{ env.TURBO_ARGS }}
128128
env:
129129
# We want to ensure we have enough RAM allocated to the Node.js process
130130
# this should be a last resort in case by any chances the build memory gets too high

.github/workflows/lint-and-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
if: |
8989
(github.event_name == 'push' || github.event_name == 'merge_group') ||
9090
(github.event_name == 'pull_request' && github.event.pull_request.head.ref != 'chore/crowdin')
91-
run: node_modules/.bin/turbo lint lint:types prettier
91+
run: node_modules/.bin/turbo lint lint:types prettier ${{ env.TURBO_ARGS }}
9292

9393
- name: Save Lint Cache
9494
# We only want to save caches on `push` events or `pull_request_target` events
@@ -139,7 +139,7 @@ jobs:
139139
- name: Run Unit Tests
140140
# We want to run Unit Tests in every circumstance, including Crowdin PRs and Dependabot PRs to ensure
141141
# that changes to dependencies or translations don't break the Unit Tests
142-
run: node_modules/.bin/turbo test:ci
142+
run: node_modules/.bin/turbo test:ci ${{ env.TURBO_ARGS }}
143143

144144
- name: Upload test coverage to Codecov
145145
if: ${{ !cancelled() && github.event_name != 'merge_group' }}

0 commit comments

Comments
 (0)