Skip to content
Snippets Groups Projects
Verified Commit b26e834e authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3428614 by catch, nod_, longwave: Resync .gitlab-ci.yml and .gitignore...

Issue #3428614 by catch, nod_, longwave: Resync .gitlab-ci.yml and .gitignore following Yarn 4 in 11.x

(cherry picked from commit 19c608d5)
parent f2eb0f52
No related branches found
No related tags found
10 merge requests!10602Issue #3438769 by vinmayiswamy, antonnavi, michelle, amateescu: Sub workspace does not clear,!10301Issue #3469309 by mstrelan, smustgrave, moshe weitzman: Use one-time login...,!10187Issue #3487488 by dakwamine: ExtensionMimeTypeGuesser::guessMimeType must support file names with "0" (zero) like foo.0.zip,!9929Issue #3445469 by pooja_sharma, smustgrave: Add additional test coverage for...,!9787Resolve issue 3479427 - bootstrap barrio issue under Windows,!9742Issue #3463908 by catch, quietone: Split OptionsFieldUiTest into two,!9526Issue #3458177 by mondrake, catch, quietone, godotislate, longwave, larowlan,...,!6502Draft: Resolve #2938524 "Plach testing issue",!38582585169-10.1.x,!3226Issue #2987537: Custom menu link entity type should not declare "bundle" entity key
Pipeline #236435 passed with warnings
Pipeline: drupal

#236448

    Pipeline: drupal

    #236438

      ...@@ -358,7 +358,9 @@ default: ...@@ -358,7 +358,9 @@ default:
      paths: paths:
      - core/node_modules/ - core/node_modules/
      script: script:
      - yarn --cwd ./core install - cd core
      - corepack enable
      - yarn install
      ################ ################
      # Lint Jobs # Lint Jobs
      ...@@ -425,8 +427,10 @@ default: ...@@ -425,8 +427,10 @@ default:
      - when: manual - when: manual
      allow_failure: true allow_failure: true
      script: script:
      - yarn --cwd=./core run -s check:ckeditor5 - cd core
      - yarn --cwd=./core run -s lint:core-js-passing --format gitlab - corepack enable
      - yarn run check:ckeditor5
      - yarn run lint:core-js-passing --format gitlab
      artifacts: artifacts:
      reports: reports:
      codequality: eslint-quality-report.json codequality: eslint-quality-report.json
      ...@@ -449,8 +453,10 @@ default: ...@@ -449,8 +453,10 @@ default:
      - when: manual - when: manual
      allow_failure: true allow_failure: true
      script: script:
      - yarn run --cwd=./core build:css --check - corepack enable
      - yarn run --cwd=./core lint:css --color --custom-formatter=node_modules/stylelint-formatter-gitlab - cd core
      - yarn run build:css --check
      - yarn run lint:css --color --custom-formatter=node_modules/stylelint-formatter-gitlab
      artifacts: artifacts:
      reports: reports:
      codequality: stylelint-quality-report.json codequality: stylelint-quality-report.json
      ...@@ -466,8 +472,10 @@ default: ...@@ -466,8 +472,10 @@ default:
      else else
      echo "HEAD is $(git rev-parse HEAD). \$CI_MERGE_REQUEST_DIFF_BASE_SHA is ${CI_MERGE_REQUEST_DIFF_BASE_SHA}"; echo "HEAD is $(git rev-parse HEAD). \$CI_MERGE_REQUEST_DIFF_BASE_SHA is ${CI_MERGE_REQUEST_DIFF_BASE_SHA}";
      fi; fi;
      - cd core
      - corepack enable
      - 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 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 - 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': '📔 Validatable config':
      <<: [ *default-job-settings-lint ] <<: [ *default-job-settings-lint ]
      ......
      ...@@ -195,7 +195,9 @@ variables: ...@@ -195,7 +195,9 @@ variables:
      - echo "DRUPAL_NIGHTWATCH_OUTPUT='"../nightwatch_output"'" >> ./core/.env - echo "DRUPAL_NIGHTWATCH_OUTPUT='"../nightwatch_output"'" >> ./core/.env
      - echo "COLUMNS=1000" >> ./core/.env - echo "COLUMNS=1000" >> ./core/.env
      - chown -R www-data:www-data ./sites /var/www - 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: after_script:
      - cp /builds/chromedriver.log ./ - cp /builds/chromedriver.log ./
      artifacts: artifacts:
      ......
      ...@@ -38,6 +38,8 @@ ...@@ -38,6 +38,8 @@
      "MAINTAINERS.txt", "MAINTAINERS.txt",
      "package.json", "package.json",
      "yarn.lock", "yarn.lock",
      ".yarnrc.yml",
      ".yarn/*",
      "misc/cspell/dictionary.txt", "misc/cspell/dictionary.txt",
      "phpstan*" "phpstan*"
      ], ],
      ......
      bartik bartik
      corepack
      dblog dblog
      dependee dependee
      dependee's dependee's
      ......
      0% Loading or .
      You are about to add 0 people to the discussion. Proceed with caution.
      Finish editing this message first!
      Please register or to comment