Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
arsnova-click-v2-frontend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
12
Merge Requests
12
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ARSnova
arsnova-click-v2-frontend
Commits
38046480
Commit
38046480
authored
Jun 12, 2018
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only writes to the cache in the install step
parent
ba2d354e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
.gitlab-ci.yml
.gitlab-ci.yml
+13
-2
No files found.
.gitlab-ci.yml
View file @
38046480
...
...
@@ -5,6 +5,7 @@ stages:
-
deploy
cache
:
key
:
npm-cache
paths
:
-
./node_modules/
...
...
@@ -15,6 +16,9 @@ npm_install:
stage
:
install
tags
:
-
nodejs
cache
:
key
:
npm-cache
policy
:
push
script
:
-
npm install
...
...
@@ -22,6 +26,9 @@ ts_lint:
stage
:
test
tags
:
-
nodejs
cache
:
key
:
npm-cache
policy
:
pull
script
:
-
node_modules/tslint/bin/tslint -c tslint.json -p tsconfig.json
...
...
@@ -29,6 +36,9 @@ npm_test:
stage
:
test
tags
:
-
nodejs
cache
:
key
:
npm-cache
policy
:
pull
script
:
-
curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
-
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
...
...
@@ -43,6 +53,9 @@ build:
-
pipeline-caching
tags
:
-
nodejs
cache
:
key
:
npm-cache
policy
:
pull
script
:
-
echo $STAGING_SERVER_ENDPOINTS > src/assets/serverEndpoint.json
-
npm run build:SSR
...
...
@@ -59,8 +72,6 @@ deploy:
cache
:
key
:
npm-cache
policy
:
pull
paths
:
-
node_modules/
dependencies
:
-
build
script
:
...
...
Write
Preview
Markdown
is supported
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