Streamlining Installation and Deployment Process for Drupal RJSF Module
The True Summit blog post details Kyle Einecker's endeavour to streamline the installation and release process for RJSF, a unique Drupal module with a significant JavaScript component. Faced with the challenge of hosting and packaging the module from a Drupal.org repository, Kyle sought to automatically include the built JavaScript when the module is installed via composer and update it with CI/CD whenever the source changes. He encountered issues installing the correct npm version and addressing the CI job's lack of permission to write to the repository. By utilizing Gitlab CI and creating a project access token, Kyle overcame these hurdles, enhancing the deployment efficiency of the RJSF module.
Source Reference
Disclosure: This content is produced with the assistance of AI.