Skip to content
Snippets Groups Projects
Commit 9eaeacc8 authored by Ross Cain's avatar Ross Cain
Browse files

Add code quality and run jobs

parent c21c36a5
No related branches found
No related tags found
No related merge requests found
stages:
- build
- test
- run # NEW!!!
image: node:17
......@@ -23,3 +24,19 @@ unit_test:
- ./node_modules/mocha/bin/_mocha "test/*.js" --reporter mocha-simple-html-reporter --reporter-options output=./testresults/test-results.html
after_script:
- echo "unit_test job has run!"
code_quality: # NEW!!!
stage: test
script:
- echo "This will run code quality in the future"
### This job can run independently of any previous job completion, i.e. build job, in order to execute
needs: []
run_app: # NEW!!!
stage: run
script:
- echo "This job will test running the compiled code in the next module"
# - npm install http-server -g
# - http-server dist/ &
### This job will not execute if the build_app job fails
needs: [build_app]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment