Skip to content

Fix CI: Add package-lock.json to repository#3

Merged
pouyanafisi merged 1 commit into
mainfrom
fix/ci-add-lockfile
Jan 4, 2026
Merged

Fix CI: Add package-lock.json to repository#3
pouyanafisi merged 1 commit into
mainfrom
fix/ci-add-lockfile

Conversation

@pouyanafisi

Copy link
Copy Markdown
Owner

This PR fixes GitHub Actions workflow errors by committing the package-lock.json file.

Problem

GitHub Actions workflows were failing with:

Error: Dependencies lock file is not found. Supported file patterns: package-lock.json,npm-shrinkwrap.json,yarn.lock

Solution

  • Remove package-lock.json from .gitignore
  • Commit package-lock.json to the repository

Why

  • Lock files should be committed for reproducible builds
  • Required by npm ci and cache: npm in GitHub Actions
  • Ensures all environments (local, CI, production) use the same dependency versions

- Remove package-lock.json from .gitignore
- Commit package-lock.json for reproducible builds
- Fixes GitHub Actions workflow errors requiring lock file
@pouyanafisi pouyanafisi merged commit d978ddd into main Jan 4, 2026
10 checks passed
@pouyanafisi pouyanafisi deleted the fix/ci-add-lockfile branch January 4, 2026 01:01
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