diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3cd9fe741465d25a0d76179eaf5dde846da4cdd9..b6adc1231c488c8d022d735b1936542c211e5d8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,14 +35,14 @@ unit-test-job: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. script: - echo "Running unit tests... This will take about 10 seconds." - - sleep 1 + - npm run test - echo "Code coverage is 90%" lint-test-job: # This job also runs in the test stage. stage: test # It can run at the same time as unit-test-job (in parallel). script: - echo "Linting code... This will take about 10 seconds." - - sleep 1 + - npm run lint - echo "No lint issues found." deploy-job: # This job runs in the deploy stage.