diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78852d0079c3405764d375c2298864364cc75238..f1666f202c19cdce698a2bae2455adc8eb999477 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,16 +23,25 @@ stages: # Install dependencies, compile the bundle.js, # make migrations on and seed the db +install-dependencies: + stage: install + script: + - npm install -q + artifacts: + paths: + - build/ + - node_modules/ + tags: + - build + build: stage: build script: - - npm install -qy - npm run build - knex migrate:latest - knex seed:run artifacts: paths: - - node_modules/ - build/ tags: - build @@ -64,4 +73,4 @@ deploy-staging: name: staging url: http://129.104.210.10:3000 tags: - - deploy \ No newline at end of file + - deployment \ No newline at end of file