diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 60c66e20a98614223b51e479c78f7e2d5115c11b..d00d11a6cc58baad7b23d6e1beaf5253fa3af28c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,9 +21,8 @@ build-app-job: test-run-job: stage: test + before_script: + - npm ci --cache .npm --prefer-offline script: - echo "Run test starting" - - npm run test - rules: - - if: '$CI_COMMIT_BRANCH == "develop"' - - if: '$CI_COMMIT_BRANCH == "main"' \ No newline at end of file + - npm run test \ No newline at end of file diff --git a/README.md b/README.md index 221d29bf76952f7ede3fca607c8eebb7eca00c93..5d7cbf70202046280ca1f870699c81b8aff11150 100644 --- a/README.md +++ b/README.md @@ -33,3 +33,5 @@ Running tests * POST localhost:3000/ttl - *add item* * body { "key": string; "value": any } * DELETE localhost:3000/ttl/:key - *remove item by key* + +