Unverified Commit d6b45bdd authored by Andrey Azov's avatar Andrey Azov Committed by GitHub
Browse files

Explicitly set line length for prettier in the prettier config (#530)



Plus update the gitlab-ci config for nodeploy branches.
Co-authored-by: default avatarKamal Dodiya <40833799+kamaldodiya@users.noreply.github.com>
parent 866aa7f9
Pipeline #177080 passed with stages
in 6 minutes and 28 seconds
...@@ -141,16 +141,20 @@ variables: ...@@ -141,16 +141,20 @@ variables:
GIT_STRATEGY: none GIT_STRATEGY: none
when: manual when: manual
script: script:
- kubectl delete ingress ensembl-client-${CI_COMMIT_REF_SLUG}-ingress - kubectl delete ingress ensembl-client-${CI_COMMIT_REF_SLUG}-nginx-ingress
- kubectl delete svc ensembl-client-${CI_COMMIT_REF_SLUG}-svc - kubectl delete ingress ensembl-client-${CI_COMMIT_REF_SLUG}-node-ingress
- kubectl delete deploy ensembl-client-${CI_COMMIT_REF_SLUG}-deployment - kubectl delete svc ensembl-client-${CI_COMMIT_REF_SLUG}-nginx-svc
- kubectl delete svc ensembl-client-${CI_COMMIT_REF_SLUG}-node-svc
- kubectl delete deploy ensembl-client-${CI_COMMIT_REF_SLUG}-nginx-deployment
- kubectl delete deploy ensembl-client-${CI_COMMIT_REF_SLUG}-node-deployment
Test: Test:
image: node:14.16.0 image: node:14.17.0
stage: test stage: test
before_script: before_script:
- cd src/ensembl - cd src/ensembl
- npm install --global npm@7.12.1
- npm ci - npm ci
script: script:
...@@ -489,5 +493,7 @@ SetupReview:HX: ...@@ -489,5 +493,7 @@ SetupReview:HX:
environment: environment:
name : wp-hx-dev-ing name : wp-hx-dev-ing
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BEFORE_SHA == "0000000000000000000000000000000000000000"' - if: $CI_PIPELINE_SOURCE == "push" &&
$CI_COMMIT_BEFORE_SHA == "0000000000000000000000000000000000000000" &&
$CI_COMMIT_REF_NAME !~ "/^nodeploy\/.*$/"
when: always when: always
module.exports = { module.exports = {
singleQuote: true, singleQuote: true,
arrowParens: 'always', arrowParens: 'always',
trailingComma: "none" trailingComma: 'none',
printWidth: 80
}; };
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment