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

Fix Continuous Deployment script after adding twenty-emails package #3589

Merged
merged 8 commits into from
Jan 23, 2024

Conversation

charlesBochet
Copy link
Member

@charlesBochet charlesBochet commented Jan 23, 2024

  1. Re-adding twenty-emails dependencies to its own package.json to enable build without pulling all repo dependencies

  2. Adding twenty-emails build to twenty-server Dockerfile

  3. Adding twenty-emails to twenty-front and twenty-docs (as we still install all dependencies for front and emails until we take a final decision on nx)

  4. Optimizing slightly twenty-front Dockerfile to not re-install node modules if package.json hasn't change

@@ -11,11 +11,15 @@ COPY ./yarn.lock .
COPY ./.yarnrc.yml .
COPY ./.yarn/releases /app/.yarn/releases
COPY ./tools/eslint-rules /app/tools/eslint-rules
COPY ./packages/twenty-front /app/packages/twenty-front
COPY ./packages/twenty-emails /app/packages/twenty-emails
COPY ./packages/twenty-front/package.json /app/packages/twenty-front/package.json
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we only copy package.json at this stage

@charlesBochet charlesBochet merged commit 3f07434 into main Jan 23, 2024
13 checks passed
@charlesBochet charlesBochet deleted the fix-ci2 branch January 23, 2024 11:30
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.

None yet

2 participants