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
open-source
MetaGer
Commits
0a266eab
Commit
0a266eab
authored
Nov 20, 2019
by
Dominik Hebeler
Browse files
added npm dependencies to pipeline
parent
430643ca
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0a266eab
...
...
@@ -13,6 +13,7 @@ variables:
stages
:
-
prepare
# Prepares the secret files that we cannot or don't want to share with public
prepare_secrets
:
stage
:
prepare
image
:
alpine:latest
...
...
@@ -39,4 +40,26 @@ prepare_secrets:
-
database/seeds/UsersSeeder.php
only
:
-
branches
-
tags
\ No newline at end of file
-
tags
prepare_node
:
stage
:
prepare
image
:
node:10
before_script
:
-
npm install
script
:
-
npm run prod
artifacts
:
paths
:
-
node_modules
-
public/js/
-
public/css/
cache
:
# Cache per Branch
key
:
"
node-$CI_JOB_STAGE-$CI_COMMIT_REF_SLUG"
paths
:
-
node_modules
only
:
-
branches
-
tags
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