ci: cleanup commented code

environments/review-simplify-c-5e1v77/deployments/3927
Alex Gleason 1 year ago
parent 29ba62ea64
commit fe4f111023
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -59,38 +59,12 @@ lint:
- ".eslintrc.cjs" - ".eslintrc.cjs"
- ".stylelintrc.json" - ".stylelintrc.json"
# jest:
# stage: test
# script: yarn test:coverage --runInBand
# only:
# changes:
# - "**/*.js"
# - "**/*.json"
# - "src/**/*"
# - "webpack/**/*"
# - "custom/**/*"
# - "jest.config.cjs"
# - "package.json"
# - "yarn.lock"
# - ".gitlab-ci.yml"
# coverage: /All files[^|]*\|[^|]*\s+([\d\.]+)/
# artifacts:
# reports:
# junit: junit.xml
# coverage_report:
# coverage_format: cobertura
# path: .coverage/cobertura-coverage.xml
build: build:
stage: test stage: test
before_script: before_script:
- apt-get update -y && apt-get install -y zip - apt-get update -y && apt-get install -y zip
script: script:
- yarn build - yarn build
# - yarn manage:translations en
# # Fail if files got changed.
# # https://stackoverflow.com/a/9066385
# - git diff --quiet
- cp dist/index.html dist/404.html - cp dist/index.html dist/404.html
- cd dist && zip -r ../soapbox.zip . && cd .. - cd dist && zip -r ../soapbox.zip . && cd ..
variables: variables:

Loading…
Cancel
Save