Skip to content

[Site] Skip yarn & npm install during deploy #2246

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 1 commit into from
Oct 6, 2024

Conversation

smnandre
Copy link
Member

@smnandre smnandre commented Oct 6, 2024

To disable the JavaScript dependencies and asset building, set NO_NPM or NO_YARN to 1 depending on your package manager.

cf https://docs.platform.sh/guides/symfony/integration.html#symfony-build

With the correct export syntax :facepalm-sorry:

> To disable the JavaScript dependencies and asset building, set NO_NPM or NO_YARN to 1 depending on your package manager.

cf https://docs.platform.sh/guides/symfony/integration.html#symfony-build

With the correct export syntax :facepalm-sorry:
@carsonbot carsonbot added Site ux.symfony.com Status: Needs Review Needs to be reviewed labels Oct 6, 2024
@smnandre smnandre merged commit 9ad36a4 into symfony:2.x Oct 6, 2024
3 of 4 checks passed
@smnandre
Copy link
Member Author

smnandre commented Oct 6, 2024

Update: 20s gain on deployment time

@smnandre smnandre requested review from kbond and Kocal October 6, 2024 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Site ux.symfony.com Status: Needs Review Needs to be reviewed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants