Fix balance-check CI: remove node cache, random sim, and unsupported artifact uploads
CI / build-and-push (push) Successful in 12s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-26 08:19:40 -04:00
parent 5885e33531
commit cc606ae523
-24
View File
@@ -27,7 +27,6 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '22' node-version: '22'
cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
@@ -35,21 +34,6 @@ jobs:
- name: Run greedy simulation - name: Run greedy simulation
run: pnpm --filter @ai-tycoon/game-simulation simulate:ci run: pnpm --filter @ai-tycoon/game-simulation simulate:ci
- name: Run random simulation
if: always()
run: |
cd packages/game-simulation
npx tsx src/simulate.ts --strategy random --ticks 28800 --json --seed 42
- name: Upload balance reports
if: always()
uses: actions/upload-artifact@v4
with:
name: balance-reports
path: |
packages/game-simulation/balance-report*.json
packages/game-simulation/balance-metrics*.csv
multi-run-balance: multi-run-balance:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -62,7 +46,6 @@ jobs:
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '22' node-version: '22'
cache: 'pnpm'
- name: Install dependencies - name: Install dependencies
run: pnpm install --frozen-lockfile run: pnpm install --frozen-lockfile
@@ -73,10 +56,3 @@ jobs:
- name: Interpret results - name: Interpret results
if: always() if: always()
run: pnpm --filter @ai-tycoon/game-simulation interpret -- --summary packages/game-simulation/multirun-summary.csv run: pnpm --filter @ai-tycoon/game-simulation interpret -- --summary packages/game-simulation/multirun-summary.csv
- name: Upload multi-run reports
if: always()
uses: actions/upload-artifact@v4
with:
name: multirun-reports
path: packages/game-simulation/multirun-*.csv