File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 7070 working-directory : src/frontend
7171 run : |
7272 if [ "${{ matrix.task }}" = "lint" ]; then
73- pnpm turbo lint --parallel
73+ pnpm exec turbo lint --parallel
7474 elif [ "${{ matrix.task }}" = "test" ]; then
75- pnpm turbo test --filter=web --parallel
75+ pnpm exec turbo test --filter=web --parallel
7676 fi
7777
7878 build :
@@ -113,8 +113,14 @@ jobs:
113113 restore-keys : |
114114 ${{ runner.os }}-turbo-
115115
116+ - name : Install Dependencies (if necessary)
117+ working-directory : src/frontend
118+ run : |
119+ if [ ! -d "node_modules" ]; then
120+ pnpm install --frozen-lockfile --prefer-offline
121+ fi
122+
116123 - name : Run Build with Cache
117124 working-directory : src/frontend
118125 run : |
119- export TURBO_LOG_VERBOSITY=verbose
120- pnpm turbo build --filter=web --filter=@workspace/ui --parallel
126+ pnpm exec turbo build --filter=web --filter=@workspace/ui --parallel
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://turbo.build/schema.json" ,
3+ "cacheDir" : " .turbo/cache" ,
34 "globalEnv" : [
45 " NEXT_PUBLIC_MODE" ,
56 " NEXT_PUBLIC_BASE_URL" ,
You can’t perform that action at this time.
0 commit comments