Skip to content
GitLab
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
c2fc902a
Commit
c2fc902a
authored
Feb 20, 2019
by
Jelle Besseling
Browse files
Merge branch 'fix/pipelines' into 'master'
Remove node_modules artifact See merge request
!232
parents
a0a28b09
94725331
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c2fc902a
...
...
@@ -4,34 +4,20 @@ variables:
GRADLE_USER_HOME
:
$CI_PROJECT_DIR/.gradle
stages
:
-
dependencies
-
validate
-
build
yarn 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
before_script
:
-
yarn install
script
:
-
yarn lint:ci
jest
:
stage
:
validate
before_script
:
-
yarn install
script
:
-
yarn jest
...
...
@@ -64,6 +50,7 @@ build android:
-
set +o pipefail
-
yes | /opt/android-sdk-linux/tools/bin/sdkmanager --licenses
-
set -o pipefail
-
yarn install
script
:
-
echo $SENTRY_PROPS | base64 -d > ./android/sentry.properties
-
echo $PROD_ENV | base64 -d > .env
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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