Skip to content

ci: require lockfile for dependency installs - #27

Merged
rogerchappel merged 1 commit into
mainfrom
agent/oss-7d9e53949d08-require-lockfile
Oct 9, 2026
Merged

rogerchappel merged 1 commit into
mainfrom
agent/oss-7d9e53949d08-require-lockfile

Conversation

@rogerchappel

Copy link
Copy Markdown
Owner

Summary

Require package-lock.json for CI dependency installation and fail with a clear diagnostic when absent. Install dependencies exclusively with npm ci to ensure reproducible resolution.

Verification

  • npm ci
  • npm test (45 tests passed)
  • npm run check
  • npm run smoke
  • npm run release:workflow-check
  • git diff --check
  • Manual review completed; missing-lockfile failure occurs before installation.

Risk Level

  • Low

Notes: CI-only behavior change. Pull request/push workflow runs validation; release workflow is tag-triggered only and is not triggered by this branch push or draft PR.

Rollback Plan

Revert commit 8877c72.

Human Decision Needed

  • Maintainer review

Commit-by-commit changes

  • 8877c72 ci: require lockfile for dependency installs — replace the optional npm install fallback with an explicit lockfile requirement and npm ci.

@rogerchappel
rogerchappel marked this pull request as ready for review October 5, 2026 14:54
@rogerchappel
rogerchappel enabled auto-merge (rebase) October 5, 2026 14:54
@rogerchappel
rogerchappel merged commit fd702f8 into main Oct 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant