Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

build switch to npm ci recreate lockfile #32

Merged

Conversation

DavidSanwald
Copy link
Contributor

We are using yarn in development according to the lockfile in the repository but our CI uses npm.
Therefore we don't get reproducible installs and builds and all the good things that lockfiles have been invested for.

Therefore I switched to npm and recreated a new lockfile for npm.
Now it is also possible to use npm ci instead of npm i in our github-action CI.

This will only work, if we stay with one package manager and make use of the lockfile.

There's some weird formatting in the yaml and I couldn't run the actions locally, only validated the yaml.
Wouldn't hurt if there's a second pair of eyes that checks it.

DavidSanwald added 3 commits August 27, 2020 18:18
we used npm in our github actions ci pipeline but yarn in dev
this does prevent reproducible builds
furthermore we now can use npm ci in CI
@imsergiy imsergiy merged commit bb53b83 into jina-ai:master Aug 31, 2020
@Roshanjossey Roshanjossey mentioned this pull request Nov 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants