Skip to content
Snippets Groups Projects
Commit 1df12131 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Add inting

parent 58d72f42
No related branches found
No related tags found
No related merge requests found
Pipeline #15134 passed with warnings
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment