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:
GIT_STRATEGY: none
when: manual
script:
- kubectl delete ingress ensembl-client-${CI_COMMIT_REF_SLUG}-ingress
- kubectl delete svc ensembl-client-${CI_COMMIT_REF_SLUG}-svc
- kubectl delete deploy ensembl-client-${CI_COMMIT_REF_SLUG}-deployment
- kubectl delete ingress ensembl-client-${CI_COMMIT_REF_SLUG}-nginx-ingress
- kubectl delete ingress ensembl-client-${CI_COMMIT_REF_SLUG}-node-ingress
- 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:
image: node:14.16.0
image: node:14.17.0
stage: test
before_script:
- cd src/ensembl
- npm install --global npm@7.12.1
- npm ci
script:
......@@ -489,5 +493,7 @@ SetupReview:HX:
environment:
name : wp-hx-dev-ing
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
module.exports = {
singleQuote: true,
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