The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
ci: ignore install scripts in release workflows (#1839)
Affaan Mustafa33db548be300
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex a52fb8488..32122c138 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -26,7 +26,7 @@ jobs:registry-url: 'https://registry.npmjs.org'- name: Install dependencies- run: npm ci+ run: npm ci --ignore-scripts- name: Verify OpenCode package payloadrun: node tests/scripts/build-opencode.test.jsdiff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.ymlindex a6fe2cec7..4368a0c19 100644--- a/.github/workflows/reusable-release.yml+++ b/.github/workflows/reusable-release.yml@@ -50,7 +50,7 @@ jobs:registry-url: 'https://registry.npmjs.org'- name: Install dependencies- run: npm ci+ run: npm ci --ignore-scripts- name: Verify OpenCode package payloadrun: node tests/scripts/build-opencode.test.jsdiff --git a/tests/scripts/release-publish.test.js b/tests/scripts/release-publish.test.jsindex 6a061b504..6365161da 100644--- a/tests/scripts/release-publish.test.js+++ b/tests/scripts/release-publish.test.js@@ -41,6 +41,10 @@ for (const workflow of [assert.match(content, /registry-url:\s*['"]https:\/\/registry\.npmjs\.org['"]/);});+ test(`${workflow} ignores dependency lifecycle scripts before privileged publish`, () => {+ assert.match(content, /npm ci --ignore-scripts/);+ });+test(`${workflow} checks whether the tagged npm version already exists`, () => {assert.match(content, /Check npm publish state/);assert.match(content, /npm view "\$\{PACKAGE_NAME\}@\$\{PACKAGE_VERSION\}" version/);