Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
ThaliApp
Commits
7e37449d
Commit
7e37449d
authored
Feb 10, 2018
by
Sébastiaan Versteeg
Browse files
Add dependencies stage to CI
parent
22b402a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7e37449d
...
...
@@ -3,17 +3,32 @@ image: node:6
variables
:
GRADLE_USER_HOME
:
$CI_PROJECT_DIR/.gradle
stages
:
-
dependencies
-
validate
cache
:
key
:
$CI_
PROJECT
_NAME
key
:
$CI_
JOB
_NAME
paths
:
-
.gradle/wrapper/
-
.gradle/caches/
before_script
:
-
yarn install
-
.gradle/wrapper/
-
.gradle/caches/
stages
:
-
validate
dependencies
:
stage
:
dependencies
cache
:
key
:
$CI_JOB_NAME
paths
:
-
$ARTIFACTS_PATH
-
$TOOL_CACHE_PATH
artifacts
:
expire_in
:
1 hour
paths
:
-
$ARTIFACTS_PATH
script
:
-
yarn install --lockfile-only
variables
:
TOOL_CACHE_PATH
:
/usr/local/share/.cache/yarn/v1
ARTIFACTS_PATH
:
node_modules
eslint
:
stage
:
validate
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment