File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676 if : ${{ github.event_name == 'workflow_dispatch' && inputs.run_windows_settings_lock_repro == true }}
7777 runs-on : windows-latest
7878 timeout-minutes : 45
79+ env :
80+ HAPPIER_REPRO_DIAG_DIR : ${{ runner.temp }}\happier-cli-win-lock-repro-diagnostics
7981
8082 steps :
8183 - name : Checkout code
8890 cache : ' yarn'
8991 cache-dependency-path : yarn.lock
9092
93+ - name : Prepare repro diagnostics directory
94+ shell : pwsh
95+ run : |
96+ $ErrorActionPreference = "Stop"
97+ New-Item -ItemType Directory -Path $env:HAPPIER_REPRO_DIAG_DIR -Force | Out-Null
98+
9199 - name : Enable Corepack
92100 shell : bash
93101 run : |
@@ -107,6 +115,12 @@ jobs:
107115 HAPPIER_UI_VENDOR_WEB_ASSETS : " 0"
108116 run : yarn install --frozen-lockfile --ignore-engines
109117
118+ - name : Build shared CLI workspace dependencies
119+ shell : pwsh
120+ run : |
121+ $ErrorActionPreference = "Stop"
122+ node apps/cli/scripts/buildSharedDeps.mjs
123+
110124 - name : Build Windows CLI binary
111125 shell : pwsh
112126 run : |
@@ -133,7 +147,6 @@ jobs:
133147 }
134148
135149 "HAPPIER_BINARY=$($binary.FullName)" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
136- "HAPPIER_REPRO_DIAG_DIR=$(Join-Path $env:RUNNER_TEMP 'happier-cli-win-lock-repro-diagnostics')" | Out-File -FilePath $env:GITHUB_ENV -Append -Encoding utf8
137150
138151 - name : Seed auth state and run repro
139152 shell : pwsh
You can’t perform that action at this time.
0 commit comments