16 lines
372 B
YAML
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/* |