File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,22 +39,26 @@ jobs:
3939 run : ${{ matrix.install_cmd }}
4040
4141 - name : Smoke — smriti --version
42+ shell : bash
4243 run : |
4344 export PATH="$HOME/.local/bin:$PATH"
4445 smriti --version || bun "$HOME/.smriti/src/index.ts" --version
4546
4647 - name : Smoke — smriti status
48+ shell : bash
4749 run : |
4850 export PATH="$HOME/.local/bin:$PATH"
4951 smriti status || bun "$HOME/.smriti/src/index.ts" status
5052
5153 - name : Smoke — smriti ingest claude (no sessions OK)
54+ shell : bash
5255 run : |
5356 export PATH="$HOME/.local/bin:$PATH"
5457 smriti ingest claude || bun "$HOME/.smriti/src/index.ts" ingest claude
5558 continue-on-error : false
5659
5760 - name : Smoke — smriti ingest copilot (no VS Code OK)
61+ shell : bash
5862 run : |
5963 export PATH="$HOME/.local/bin:$PATH"
6064 smriti ingest copilot || bun "$HOME/.smriti/src/index.ts" ingest copilot
Original file line number Diff line number Diff line change @@ -26,10 +26,7 @@ $ErrorActionPreference = "Stop"
2626
2727# ─── Config ──────────────────────────────────────────────────────────────────
2828if ($CI ) {
29- $HOME_DIR = Join-Path ([System.IO.Path ]::GetTempPath()) " smriti-ci-home"
30- $null = New-Item - ItemType Directory - Force - Path $HOME_DIR
31- $env: USERPROFILE = $HOME_DIR
32- Write-Host " CI mode: using temp HOME $HOME_DIR "
29+ Write-Host " CI mode: running in non-interactive mode"
3330}
3431
3532$SMRITI_HOME = Join-Path $env: USERPROFILE " .smriti"
Original file line number Diff line number Diff line change 1212set -euo pipefail
1313
1414# --- CI mode (used by GitHub Actions install-test.yml) -----------------------
15- # Pass --ci to run non-interactively with a temp HOME directory .
15+ # Pass --ci to run non-interactively. Sets SMRITI_NO_HOOK to skip Claude Code hook .
1616CI_MODE=0
1717for arg in " $@ " ; do
1818 [ " $arg " = " --ci" ] && CI_MODE=1
1919done
2020
2121if [ " $CI_MODE " = " 1" ]; then
22- export HOME=" $( mktemp -d /tmp/smriti-ci-XXXXX) "
2322 export SMRITI_NO_HOOK=1
24- echo " CI mode: using temp HOME $HOME "
23+ echo " CI mode: skipping Claude Code hook setup "
2524fi
2625
2726# --- Configuration -----------------------------------------------------------
Original file line number Diff line number Diff line change @@ -11,10 +11,8 @@ param([switch]$CI)
1111Set-StrictMode - Version Latest
1212$ErrorActionPreference = " Stop"
1313
14- if ($CI ) {
15- $HOME_DIR = Join-Path ([System.IO.Path ]::GetTempPath()) " smriti-ci-home"
16- $env: USERPROFILE = $HOME_DIR
17- }
14+ # Note: CI flag is accepted for compatibility but temp HOME is no longer used
15+ # (runner HOME is cleaned up automatically after job)
1816
1917$SMRITI_HOME = Join-Path $env: USERPROFILE " .smriti"
2018$BIN_DIR = Join-Path $env: USERPROFILE " .local\bin"
You can’t perform that action at this time.
0 commit comments