Posted on

How to setup NPM package execution on Magento Cloud?

I need to run a command to compile my theme styles and commit them every time I need to push something new, these are the commands below.

npm i
gulp style
gulp js

When I try to run it via the Magento Cloud pipeline file, I got a permission issue to create folders and execute Gulp with the automated system.

How could I compile my styles via Magento Cloud pipelines?

Leave a Reply

Your email address will not be published.