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: ...@@ -29,14 +29,20 @@ retire-security-check:
script: script:
- npm install -g retire - npm install -g retire
- retire -p - retire -p
dependencies:
- install-dependencies
lint: lint:
stage: test stage: test
script: npm run lint script: npm run lint
dependencies:
- install-dependencies
unit-test: unit-test:
stage: test stage: test
script: npm run test script: npm run test:ci
dependencies:
- install-dependencies
# DOCKERIZE # DOCKERIZE
......
...@@ -11,7 +11,9 @@ ...@@ -11,7 +11,9 @@
"start": "react-scripts start", "start": "react-scripts start",
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "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": { "eslintConfig": {
"extends": "react-app" "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