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
cc30ca2d
Commit
cc30ca2d
authored
Jun 12, 2018
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaces cache with artifacts
parent
b63ec7d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
21 deletions
+6
-21
.gitlab-ci.yml
.gitlab-ci.yml
+6
-21
No files found.
.gitlab-ci.yml
View file @
cc30ca2d
...
...
@@ -11,10 +11,9 @@ npm_install:
stage
:
install
tags
:
-
nodejs
cache
:
key
:
"
$CI_COMMIT_REF_SLUG"
artifacts
:
paths
:
-
./node_modules/
-
node_modules
script
:
-
npm install
...
...
@@ -22,11 +21,9 @@ ts_lint:
stage
:
test
tags
:
-
nodejs
cache
:
key
:
"
$CI_COMMIT_REF_SLUG"
policy
:
pull
artifacts
:
paths
:
-
./node_modules/
-
node_modules
script
:
-
node_modules/tslint/bin/tslint -c tslint.json -p tsconfig.json
...
...
@@ -34,11 +31,9 @@ npm_test:
stage
:
test
tags
:
-
nodejs
cache
:
key
:
"
$CI_COMMIT_REF_SLUG"
policy
:
pull
artifacts
:
paths
:
-
./node_modules/
-
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
...
...
@@ -53,11 +48,6 @@ build:
-
pipeline-caching
tags
:
-
nodejs
cache
:
key
:
"
$CI_COMMIT_REF_SLUG"
policy
:
pull
paths
:
-
./node_modules/
script
:
-
echo $STAGING_SERVER_ENDPOINTS > src/assets/serverEndpoint.json
-
npm run build:SSR
...
...
@@ -71,11 +61,6 @@ deploy:
-
master
tags
:
-
ssh
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