Add a "CKEditor 5 nightly" GitLab CI job

Created on 3 August 2023, over 1 year ago
Updated 15 March 2024, 9 months ago

Problem/Motivation

In order to catch unintentional regressions such as enablePlaceholder() in CKEditor 5 39 (see #3377562-14: Update CKEditor 5 to 39.0.0 โ†’ ) long ahead of time, let's have an issue that is forever chasing the nightly tag of CKEditor 5.

Automated CKEditor 5 nightly changelog: https://github.com/ckeditor/ckeditor5/issues/14724

To update the MR once you have it locally:

git checkout 3379104-cke5-nightly
git pull
cd core && yarn upgrade --pattern ckeditor5 && yarn build && yarn build:ckeditor5-types
cd .. && git add core/assets/vendor/ckeditor5/ && git commit -nam "$(date)"
git push --set-upstream drupal-3379104 HEAD

โš ๏ธ Whenever the version of CKEditor 5 in the upstream branch (11.x) has changed, you need to remove all the "date" commits and revert back to Pin all CKEditor 5 packages to the `nightly` tag. commit, pull & rebase, and force push:

git checkout 3379104-cke5-nightly
git pull
git reset --hard $(git log 11.x..3379104-cke5-nightly --format=%h | tail -2 | head -1)
git fetch origin
git rebase origin/11.x --strategy-option theirs
# Now do the usual steps, but skip the checkout + pull, and do a force push:
cd core && yarn install && yarn upgrade --pattern ckeditor5 && yarn build && yarn build:ckeditor5-types
cd .. && git add core/assets/vendor/ckeditor5/ && git commit -nam "$(date)"
git push -f --set-upstream drupal-3379104 HEAD

Steps to reproduce

N/A

Proposed resolution

N/A

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

๐Ÿ“Œ Task
Status

Needs work

Version

11.0 ๐Ÿ”ฅ

Component
CKEditor 5ย  โ†’

Last updated 1 day ago

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium wim leers Ghent ๐Ÿ‡ง๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡บ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024