Skip to content
Snippets Groups Projects
Commit 7d089db7 authored by Erik Borgeteien Hansen's avatar Erik Borgeteien Hansen
Browse files

try and try again

parent 10eddbfd
No related branches found
No related tags found
1 merge request!31Cicd
Pipeline #176614 failed
image: node:16-alpine
stages:
- build
- test
# - deploy
install_dependencies:
stage: build
install:
stage: .pre
cache:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
paths:
- node_modules/
# before_script: #Runs before script; in case we need .envs later
# - cp .env.gitlab-testing .env
script:
- npm ci
only:
......@@ -18,6 +21,8 @@ install_dependencies:
build:
stage: build
needs:
-job: install
cache:
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
paths:
......@@ -32,5 +37,5 @@ build:
run_tests:
stage: test
needs:
- build
- job: install
script: npm run test:unit
\ No newline at end of file
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