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
a8674066
Commit
a8674066
authored
Jun 12, 2018
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test simple cache definition
parent
506a2432
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
23 deletions
+4
-23
.gitlab-ci.yml
.gitlab-ci.yml
+4
-23
No files found.
.gitlab-ci.yml
View file @
a8674066
...
...
@@ -4,15 +4,14 @@ stages:
-
build
-
deploy
cache
:
paths
:
-
node_modules/
npm_install
:
stage
:
install
tags
:
-
nodejs
cache
:
key
:
npm-cache
policy
:
push
paths
:
-
node_modules/
script
:
-
npm install
...
...
@@ -20,11 +19,6 @@ ts_lint:
stage
:
test
tags
:
-
nodejs
cache
:
key
:
npm-cache
policy
:
pull
paths
:
-
node_modules/
script
:
-
node_modules/tslint/bin/tslint -c tslint.json -p tsconfig.json
...
...
@@ -32,19 +26,11 @@ npm_test:
stage
:
test
tags
:
-
nodejs
cache
:
key
:
npm-cache
policy
:
pull
paths
:
-
node_modules/
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
-
apt-get -y update
-
apt-get -y install google-chrome-stable
-
npm link @angular/cli
-
npm link @angular-devkit/build-angular
-
npm link @angular/compiler-cli
-
npm test
build
:
...
...
@@ -54,11 +40,6 @@ build:
-
pipeline-caching
tags
:
-
nodejs
cache
:
key
:
npm-cache
policy
:
pull
paths
:
-
node_modules/
script
:
-
echo $STAGING_SERVER_ENDPOINTS > src/assets/serverEndpoint.json
-
npm run build:SSR
...
...
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