Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect package-lock.json when building the frontend with init-deployment.sh #663

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

jkglasbrenner
Copy link
Collaborator

@jkglasbrenner jkglasbrenner commented Oct 24, 2024

This updates the init-deployment.sh script so that it copies the frontend's package-lock.json file into the build context. The command "npm install" is replaced with "npm ci", which will do a "clean install" of the exact versions in package-lock.json and will fail if anything breaks.

Closes #661, #662

This updates the init-deployment.sh script so that it copies the frontend's package-lock.json file
into the build context. The command "npm install" is replaced with "npm ci", which will do a "clean
install" of the exact versions in package-lock.json and will fail if anything breaks.

Closes #662
@jkglasbrenner jkglasbrenner added bug Something isn't working build Changes related to the project build system, library dependencies, and GitHub Actions labels Oct 24, 2024
@jkglasbrenner jkglasbrenner linked an issue Oct 24, 2024 that may be closed by this pull request
@jkglasbrenner
Copy link
Collaborator Author

Several people on our team tested this out and confirmed it worked.

@jkglasbrenner jkglasbrenner merged commit 5295ea9 into dev Oct 25, 2024
11 checks passed
@jkglasbrenner jkglasbrenner deleted the fix-respect-package-lock-frontend branch October 25, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Changes related to the project build system, library dependencies, and GitHub Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pin npm dependencies
3 participants