gilde-ci-cd/templates/npm/npm-lint.gitlab-ci.yml
Marcel Feix 75799e32fc
Docs(*): Translate everything to english
Correction of some paths
2022-07-08 09:55:42 +02:00

16 lines
372 B
YAML

.npm-lint:
image: $NODE_IMAGE
stage: verify
variables:
ADDITIONAL_GLOBAL_PACKAGES: ""
before_script:
- npm install -g $ADDITIONAL_GLOBAL_PACKAGES
- "cd $FRONTEND_DIR"
- npm install -g eslint
script:
- npm run lint
# artifacts: todo add lint results in artifact if posible
# expire_in: 2 weeks
# when: always
# paths:
# - dist/*