Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

fix: update outdated repo setup in codex.yml (#1171)

Michael Bolin867618538906
diff --git a/.github/workflows/codex.yml b/.github/workflows/codex.yml
index 0df24c8a79..1ca50f499f 100644
--- a/.github/workflows/codex.yml
+++ b/.github/workflows/codex.yml
@@ -47,9 +47,22 @@ jobs:
with:
node-version: 22
- - name: Install dependencies (codex-cli)
- working-directory: codex-cli
- run: npm ci
+ - name: Get pnpm store directory
+ id: pnpm-cache
+ shell: bash
+ run: |
+ echo "store_path=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
+
+ - name: Setup pnpm cache
+ uses: actions/cache@v4
+ with:
+ path: ${{ steps.pnpm-cache.outputs.store_path }}
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
+ restore-keys: |
+ ${{ runner.os }}-pnpm-store-
+
+ - name: Install dependencies
+ run: pnpm install
- uses: dtolnay/[email protected]
with: