Running Composer and npm scripts with deployment via SCP in GitLab CI/CD

This guide covers the building of dependencies of a PHP project while compiling assets via an npm script using GitLab CI/CD.

While it is possible to create your own image with custom PHP and Node.js versions, for brevity we use an existing