ci: cleanup commented code
This commit is contained in:
parent
29ba62ea64
commit
fe4f111023
1 changed files with 0 additions and 26 deletions
|
@ -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…
Reference in a new issue