Problem/Motivation
We want to remove the build files from the repo and allow GitLab to handle packaging them.
Issue fork prototype-3478377
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jldust commentedComment #6
jldust commentedI've removed the compiled build files, started to add a .gitlab-ci.yml file, fixed the baseline cypress test, and a few typos.
We still need to:
- Determine if we want to have build package styles after tagging
- Need to start thinking about additional testing & possible demo module for components
Comment #8
grgcrlsn321 commentedRemoved build files and fixed the following int eh gitlab-ci:
Build Pipeline
- build-assets job: compiles css/js from source during CI
- validate-build-artifacts job: verifies all files were created for build files
- Added build paths to .gitignore file
- Documentation - README explains new developer workflow
Fixed CI Jobs
- phpcs: updated Drupal core constraints
- composer: use artifacts from build job
- cypress - Add testing for prototype theme
- phpstan: updated Drupal core constraints, fixed global function call in generator.php
- cspell: added project words for CI
Cypress Testing:
- Setup PHP 8.4 Composer, MariaDB
- Fixed docker image using Debian with specific packages
- Theme Install: Prototype copies into Drupal and activates
- Generator test - Skipped (too complex for CI)
- Cypress Theme testing for Homepage Loads, Theme is active, CSS files exist, Javascript exists on page, Drupal JS is intialized, and Main Content renders.
Comment #10
jldust commentedThis has been reviewed and will be included in the next tagged release.
Comment #12
jldust commentedThis has been included in the most recent release
Comment #14
jldust commented