Loading .gitlab-ci.yml +2 −18 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ include: phpcs: stage: test script: # - cp -u phpcs.xml $WEB_ROOT/modules/custom - cp -u phpcs.xml $WEB_ROOT/modules/custom - composer phpcs -- --report-junit=junit.xml --report-full --report-summary allow_failure: false artifacts: Loading @@ -22,19 +22,3 @@ stylelint: stage: test script: - yarn version No newline at end of file frontend: stage: build image: node:16.13-alpine variables: GIT_STRATEGY: fetch GIT_CHECKOUT: "true" script: - apk add bash git openssh - npm install - npm run build - 'git diff --exit-code src dist || (echo "Error: Uncommitted changes detected"; exit 1)' artifacts: paths: - node_modules/ expire_in: 6 mos phpcs.xml 0 → 100644 +7 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <ruleset name="drupal-project"> <rule ref="vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml"/> <!-- Add tests for .theme files --> <arg name="extensions" value="php,module,inc,install,test,profile,theme,info,txt,md,yml"/> </ruleset> No newline at end of file Loading
.gitlab-ci.yml +2 −18 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ include: phpcs: stage: test script: # - cp -u phpcs.xml $WEB_ROOT/modules/custom - cp -u phpcs.xml $WEB_ROOT/modules/custom - composer phpcs -- --report-junit=junit.xml --report-full --report-summary allow_failure: false artifacts: Loading @@ -22,19 +22,3 @@ stylelint: stage: test script: - yarn version No newline at end of file frontend: stage: build image: node:16.13-alpine variables: GIT_STRATEGY: fetch GIT_CHECKOUT: "true" script: - apk add bash git openssh - npm install - npm run build - 'git diff --exit-code src dist || (echo "Error: Uncommitted changes detected"; exit 1)' artifacts: paths: - node_modules/ expire_in: 6 mos
phpcs.xml 0 → 100644 +7 −0 Original line number Diff line number Diff line <?xml version="1.0" encoding="UTF-8"?> <ruleset name="drupal-project"> <rule ref="vendor/drupal/coder/coder_sniffer/Drupal/ruleset.xml"/> <!-- Add tests for .theme files --> <arg name="extensions" value="php,module,inc,install,test,profile,theme,info,txt,md,yml"/> </ruleset> No newline at end of file