@@ -30,8 +30,6 @@ permissions:
3030env :
3131 # See https://turbo.build/repo/docs/reference/command-line-reference/run#--cache-dir
3232 TURBO_ARGS : --cache-dir=.turbo/cache
33- # See https://turbo.build/repo/docs/reference/command-line-reference/run#--force
34- TURBO_FORCE : true
3533
3634jobs :
3735 build :
8078
8179 - name : Set up pnpm
8280 uses : pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
83- with :
84- cache : true
8581
8682 - name : Set up Node.js
8783 uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
9692
9793 - name : Build Next.js (ISR)
9894 # We want a ISR build on CI to ensure that regular Next.js builds work as expected.
99- run : pnpm exec turbo build ${{ env.TURBO_ARGS }}
95+ run : node_modules/.bin/ turbo build ${{ env.TURBO_ARGS }}
10096 env :
10197 # We want to ensure we have enough RAM allocated to the Node.js process
10298 # this should be a last resort in case by any chances the build memory gets too high
@@ -109,7 +105,7 @@ jobs:
109105 # We only run full static builds within Pull Requests. This step is also used to export
110106 # static output in all languages, and it only works on `push` events.
111107 if : github.event_name == 'push'
112- run : pnpm exec turbo deploy ${{ env.TURBO_ARGS }}
108+ run : node_modules/.bin/ turbo deploy ${{ env.TURBO_ARGS }}
113109 env :
114110 # We want to ensure we have enough RAM allocated to the Node.js process
115111 # this should be a last resort in case by any chances the build memory gets too high
@@ -128,7 +124,7 @@ jobs:
128124 if : |
129125 (github.event_name == 'pull_request_target' &&
130126 github.event.pull_request.head.ref != 'chore/crowdin')
131- run : pnpm exec turbo deploy ${{ env.TURBO_ARGS }}
127+ run : node_modules/.bin/ turbo deploy ${{ env.TURBO_ARGS }}
132128 env :
133129 # We want to ensure we have enough RAM allocated to the Node.js process
134130 # this should be a last resort in case by any chances the build memory gets too high
@@ -149,4 +145,4 @@ jobs:
149145 ORAMA_SECRET_KEY : ${{ github.event_name == 'push' && secrets.ORAMA_PRODUCTION_SECRET_KEY || secrets.ORAMA_SECRET_KEY }}
150146 if : matrix.os == 'ubuntu-latest' && github.event_name != 'merge_group'
151147 working-directory : apps/site
152- run : pnpm sync-orama
148+ run : node --run sync-orama
0 commit comments