Skip to content

Use npm ci on publish scripts #940

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

Merged
merged 2 commits into from
Aug 11, 2021
Merged

Use npm ci on publish scripts #940

merged 2 commits into from
Aug 11, 2021

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Aug 11, 2021

I kept seeing error on the npm version command claiming that the directory was dirty.

I believe this is because version of the npm used in our builder image is >v7 which uses lockfileversion 2 instead of 1. I'm suggesting that we use npm ci instead, but we should also think about updating the package-lock.json to lockfileversion 2.

I kept seeing error on the npm version command claiming that the directory was dirty. I believe this is because version of the npm used in our builder image is >7 which uses lockfileversion 2 instead of 1 checked into the repo. Using npm ci instead, but we should also think about updating the package-lock.json to lockfileversion 2.
@taeold taeold merged commit 31d52b7 into master Aug 11, 2021
@taeold taeold deleted the dl-version-test branch August 11, 2021 21:27
TheIronDev added a commit to firebase/firebase-functions-test that referenced this pull request May 5, 2022
TheIronDev added a commit to firebase/firebase-functions-test that referenced this pull request May 5, 2022
* Use npm ci on publish scripts

This commit is a copy of [firebase/firebase-functions#940](firebase/firebase-functions#940)

* Update scripts/publish.sh

Co-authored-by: Daniel Lee <danielylee@google.com>
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.

3 participants