github-actions
npm ci fails due to lockfile mismatch
npm ci.*error|lockfile.*not compatible|package-lock.*out of date
Fixes
- 1.Regenerate lockfile: delete package-lock.json, run npm install, commit
- 2.Ensure node version in CI matches local (use .nvmrc or engines field)
- 3.Use --legacy-peer-deps if peer dependency conflicts block install
cinpmlockfile
Related Errors
github-actions3 fixes
GitHub Actions step failed with non-zero exit code
Error.*Process completed with exit code [1-9]|exit code.*non-zero
- •Check the failing step's logs for the actual error message above the exit code
- •Add 'continue-on-error: true' temporarily to isolate which step fails
github-actions3 fixes
CI pipeline job timeout
The job.*exceeded.*maximum.*time|timeout.*exceeded.*minutes
- •Increase timeout-minutes on the job or specific step
- •Add caching for dependencies (actions/cache) to speed up installs
github-actions3 fixes
GitHub Actions artifact not found
Artifact.*not found|download-artifact.*failed|No artifacts found
- •Ensure upload-artifact and download-artifact use matching artifact names
- •Check that the upload step ran successfully in a previous job