Commit 67ec951d authored by Yuci Gou's avatar Yuci Gou

Add lint to CI

parent e83b30a6
Pipeline #7086 passed with stages
in 55 seconds
......@@ -6,7 +6,7 @@ variables:
stages:
- build
# - test
- test
# - review
# - staging
# - production
......@@ -23,14 +23,14 @@ build:
- echo "Ignore warning! Cannot perform an interactive login from a non TTY device"
- docker push $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
# lint:
# image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
# stage: test
# variables:
# GIT_STRATEGY: none
# script:
# - cd ${HOME}
# - npm run lint
lint:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
stage: test
variables:
GIT_STRATEGY: none
script:
- cd ${HOME}
- npm run lint
# test:
# image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment