Skip to content
Snippets Groups Projects
Commit 3eeefeb3 authored by catch's avatar catch
Browse files

Merge branch '3428614-10-4-backport' into '10.4.x'

Backport .gitlabci.yml changes.

See merge request !8950
parents c550b71c 01790335
No related branches found
No related tags found
No related merge requests found
Pipeline #236021 passed
Pipeline: drupal

#236024

    ......@@ -358,7 +358,9 @@ default:
    paths:
    - core/node_modules/
    script:
    - yarn --cwd ./core install
    - cd core
    - corepack enable
    - yarn install
    ################
    # Lint Jobs
    ......@@ -425,8 +427,10 @@ default:
    - when: manual
    allow_failure: true
    script:
    - yarn --cwd=./core run -s check:ckeditor5
    - yarn --cwd=./core run -s lint:core-js-passing --format gitlab
    - cd core
    - corepack enable
    - yarn run check:ckeditor5
    - yarn run lint:core-js-passing --format gitlab
    artifacts:
    reports:
    codequality: eslint-quality-report.json
    ......@@ -449,8 +453,10 @@ default:
    - when: manual
    allow_failure: true
    script:
    - yarn run --cwd=./core build:css --check
    - yarn run --cwd=./core lint:css --color --custom-formatter=node_modules/stylelint-formatter-gitlab
    - corepack enable
    - cd core
    - yarn run build:css --check
    - yarn run lint:css --color --custom-formatter=node_modules/stylelint-formatter-gitlab
    artifacts:
    reports:
    codequality: stylelint-quality-report.json
    ......@@ -467,7 +473,9 @@ default:
    echo "HEAD is $(git rev-parse HEAD). \$CI_MERGE_REQUEST_DIFF_BASE_SHA is ${CI_MERGE_REQUEST_DIFF_BASE_SHA}";
    fi;
    - git diff ${CI_MERGE_REQUEST_TARGET_BRANCH_SHA:-$CI_MERGE_REQUEST_DIFF_BASE_SHA} --name-only 2>1 > /dev/null || (echo "Warning, cannot find changed files, converting to full clone." & (git fetch --unshallow --quiet && echo "Fetch successful."))
    - git diff ${CI_MERGE_REQUEST_TARGET_BRANCH_SHA:-$CI_MERGE_REQUEST_DIFF_BASE_SHA} --name-only | sed "s_^_../_" | yarn --cwd=./core run -s spellcheck:core --no-must-find-files --file-list stdin
    - cd core
    - corepack enable
    - git diff ${CI_MERGE_REQUEST_TARGET_BRANCH_SHA:-$CI_MERGE_REQUEST_DIFF_BASE_SHA} --name-only | sed "s_^_../_" | yarn run -s spellcheck:core --no-must-find-files --file-list stdin
    '📔 Validatable config':
    <<: [ *default-job-settings-lint ]
    ......
    ......@@ -195,7 +195,9 @@ variables:
    - echo "DRUPAL_NIGHTWATCH_OUTPUT='"../nightwatch_output"'" >> ./core/.env
    - echo "COLUMNS=1000" >> ./core/.env
    - chown -R www-data:www-data ./sites /var/www
    - sudo -u www-data yarn run --cwd=./core test:nightwatch --workers=4
    - cd core
    - corepack enable
    - sudo -u www-data yarn run test:nightwatch --workers=4
    after_script:
    - cp /builds/chromedriver.log ./
    artifacts:
    ......
    ......@@ -39,6 +39,8 @@
    "MAINTAINERS.txt",
    "package.json",
    "yarn.lock",
    ".yarnrc.yml",
    ".yarn/*",
    "misc/cspell/dictionary.txt",
    "phpstan*"
    ],
    ......
    bartik
    corepack
    dblog
    dependee
    dependee's
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment