Skip to content

Add package-lock.json and switch CI to npm ci for validate workflow#8

Merged
GsCommand merged 1 commit intomainfrom
codex/fix-ci-failure-with-npm-ci
Mar 18, 2026
Merged

Add package-lock.json and switch CI to npm ci for validate workflow#8
GsCommand merged 1 commit intomainfrom
codex/fix-ci-failure-with-npm-ci

Conversation

@GsCommand
Copy link
Copy Markdown
Contributor

Motivation

  • The validate CI job was changed to use npm ci but the repository had no package-lock.json, causing CI failures.
  • Provide a lockfile so npm ci can install reproducibly without changing declared dependencies.

Description

  • Add a generated package-lock.json for the current package so CI has a lockfile to consume.
  • Remove package-lock.json from .gitignore so the lockfile can be tracked (.gitignore updated).
  • Ensure the validate workflow uses npm ci for installation (.github/workflows/validate.yml updated).
  • Files changed: package-lock.json, .gitignore, and .github/workflows/validate.yml.

Testing

  • Ran npm install --package-lock-only to generate the lockfile (succeeded).
  • Ran npm ci against the repo using the new lockfile (succeeded).
  • Ran npm run validate which executes schema and example validation (all validations succeeded).
  • git diff --check was run to ensure no whitespace/patch issues (no problems found), and the validate workflow should now pass using npm ci because a committed package-lock.json is present.

Codex Task

@GsCommand GsCommand merged commit 9cc27f3 into main Mar 18, 2026
1 check passed
@GsCommand GsCommand deleted the codex/fix-ci-failure-with-npm-ci branch March 20, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant