Commit c70cc2e1 authored by Jonas Verhoelen's avatar Jonas Verhoelen

dependencies, CI tests and lint command

parent 248970e6
Pipeline #33925 failed with stages
in 2 minutes and 26 seconds
......@@ -29,14 +29,20 @@ retire-security-check:
script:
- npm install -g retire
- retire -p
dependencies:
- install-dependencies
lint:
stage: test
script: npm run lint
dependencies:
- install-dependencies
unit-test:
stage: test
script: npm run test
script: npm run test:ci
dependencies:
- install-dependencies
# DOCKERIZE
......
......@@ -11,7 +11,9 @@
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"test:ci": "CI=true npm test",
"eject": "react-scripts eject",
"lint": "./node_modules/.bin/eslint 'src/**/*.js'"
},
"eslintConfig": {
"extends": "react-app"
......
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