The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
test: normalize release workflow line endings
Affaan Mustafa97567a91e79e
diff --git a/tests/scripts/release-publish.test.js b/tests/scripts/release-publish.test.jsindex f3318fb7e..3f5bcdca9 100644--- a/tests/scripts/release-publish.test.js+++ b/tests/scripts/release-publish.test.js@@ -22,7 +22,7 @@ function test(name, fn) {}function load(relativePath) {- return fs.readFileSync(path.join(repoRoot, relativePath), 'utf8');+ return fs.readFileSync(path.join(repoRoot, relativePath), 'utf8').replace(/\r\n/g, '\n');}console.log('\n=== Testing release publish workflow ===\n');@@ -32,7 +32,8 @@ for (const workflow of ['.github/workflows/reusable-release.yml',]) {const content = load(workflow);- const workflowHeader = content.slice(0, content.indexOf('\njobs:\n'));+ const jobsIndex = content.search(/^jobs:\s*$/m);+ const workflowHeader = jobsIndex >= 0 ? content.slice(0, jobsIndex) : content;test(`${workflow} scopes id-token to the publish job for npm provenance`, () => {assert.doesNotMatch(workflowHeader, /id-token:\s*write/);