File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 9494
9595 - name : Build Next.js (ISR)
9696 # We want a ISR build on CI to ensure that regular Next.js builds work as expected.
97- run : npx turbo build ${{ env.TURBO_ARGS }}
97+ run : node --run build -- ${{ env.TURBO_ARGS }}
9898 env :
9999 # We want to ensure we have enough RAM allocated to the Node.js process
100100 # this should be a last resort in case by any chances the build memory gets too high
@@ -107,7 +107,7 @@ jobs:
107107 # We only run full static builds within Pull Requests. This step is also used to export
108108 # static output in all languages, and it only works on `push` events.
109109 if : github.event_name == 'push'
110- run : npx turbo deploy ${{ env.TURBO_ARGS }}
110+ run : node --run deploy -- ${{ env.TURBO_ARGS }}
111111 env :
112112 # We want to ensure we have enough RAM allocated to the Node.js process
113113 # this should be a last resort in case by any chances the build memory gets too high
@@ -126,7 +126,7 @@ jobs:
126126 if : |
127127 (github.event_name == 'pull_request_target' &&
128128 github.event.pull_request.head.ref != 'chore/crowdin')
129- run : npx turbo deploy ${{ env.TURBO_ARGS }}
129+ run : node --run deploy -- ${{ env.TURBO_ARGS }}
130130 env :
131131 # We want to ensure we have enough RAM allocated to the Node.js process
132132 # this should be a last resort in case by any chances the build memory gets too high
Original file line number Diff line number Diff line change 1919 "lint:types" : " tsc --noEmit" ,
2020 "playwright" : " playwright test" ,
2121 "prebuild" : " node --run build:blog-data" ,
22+ "predeploy" : " node --run build:blog-data" ,
2223 "scripts:release-post" : " cross-env NODE_NO_WARNINGS=1 node scripts/release-post/index.mjs" ,
2324 "serve" : " node --run dev" ,
2425 "start" : " cross-env NODE_NO_WARNINGS=1 next start" ,
You can’t perform that action at this time.
0 commit comments