diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 38df26d8d85d044290c680095dd88697a9a2b895..bba1dff1c4ef9d482e040dae6f9a6c4507ac19fc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,21 +16,13 @@ test: - yarn install - yarn run test -publish: - stage: deploy - only: - refs: - - deploy - - master +linting: + stage: test + allow_failure: true script: - # https://www.npmjs.com/settings/dbp-deploy/tokens - # NPM_TOKEN needs to be a "Publish" token with 2FA disabled! - # "Automation" tokens don't work with lerna (even if they would work with "npm publish") - - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/.npmrc - - yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache" - yarn install - - yarn run build - - yarn run publish + - yarn run lint + .deploy_defaults: &deploy_defaults except: