diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b6d63c..7c9dd10 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). -## [0.7.0-alpha.2] - 2026-02-06 +## [0.7.0-alpha.3] - 2026-02-06 ### Fixed -- GitHub Actions で `listTasks` テストが git user 未設定により失敗する問題を修正 +- GitHub Actions でテストが git user 未設定により失敗する問題を修正(listTasks, listNonInteractive) ## [0.7.0-alpha.1] - 2026-02-06 diff --git a/package-lock.json b/package-lock.json index 505dcc5..351b127 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "takt", - "version": "0.7.0-alpha.2", + "version": "0.7.0-alpha.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "takt", - "version": "0.7.0-alpha.2", + "version": "0.7.0-alpha.3", "license": "MIT", "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.2.19", diff --git a/package.json b/package.json index 37081ca..f01621f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "takt", - "version": "0.7.0-alpha.2", + "version": "0.7.0-alpha.3", "description": "TAKT: Task Agent Koordination Tool - AI Agent Piece Orchestration", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/__tests__/listNonInteractive.test.ts b/src/__tests__/listNonInteractive.test.ts index b25ab07..12f93a5 100644 --- a/src/__tests__/listNonInteractive.test.ts +++ b/src/__tests__/listNonInteractive.test.ts @@ -15,6 +15,8 @@ describe('listTasks non-interactive text output', () => { beforeEach(() => { tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'takt-test-ni-')); execFileSync('git', ['init', '--initial-branch', 'main'], { cwd: tmpDir, stdio: 'pipe' }); + execFileSync('git', ['config', 'user.name', 'Test User'], { cwd: tmpDir, stdio: 'pipe' }); + execFileSync('git', ['config', 'user.email', 'test@example.com'], { cwd: tmpDir, stdio: 'pipe' }); execFileSync('git', ['commit', '--allow-empty', '-m', 'init'], { cwd: tmpDir, stdio: 'pipe' }); }); @@ -101,6 +103,8 @@ describe('listTasks non-interactive action errors', () => { beforeEach(() => { tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'takt-test-ni-err-')); execFileSync('git', ['init', '--initial-branch', 'main'], { cwd: tmpDir, stdio: 'pipe' }); + execFileSync('git', ['config', 'user.name', 'Test User'], { cwd: tmpDir, stdio: 'pipe' }); + execFileSync('git', ['config', 'user.email', 'test@example.com'], { cwd: tmpDir, stdio: 'pipe' }); execFileSync('git', ['commit', '--allow-empty', '-m', 'init'], { cwd: tmpDir, stdio: 'pipe' }); // Create a pending task so the "no tasks" early return is not triggered const tasksDir = path.join(tmpDir, '.takt', 'tasks');