This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
41
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
068a7c88
Commit
068a7c88
authored
3 years ago
by
Daniel Rainer
Browse files
Options
Downloads
Patches
Plain Diff
Refine caching for npm
parent
af68b142
Branches
Branches containing commit
2 merge requests
!105
Preparing März Release
,
!95
Improve pipeline
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+28
-5
28 additions, 5 deletions
.gitlab-ci.yml
with
28 additions
and
5 deletions
.gitlab-ci.yml
+
28
−
5
View file @
068a7c88
...
...
@@ -4,11 +4,6 @@ cache:
-
key
:
'
$CI_COMMIT_REF_NAME'
paths
:
-
.maven/
-
key
:
files
:
-
package-lock.json
paths
:
-
node_modules/
stages
:
-
setup
...
...
@@ -28,6 +23,13 @@ npm-install:
stage
:
setup
script
:
-
npm install
cache
:
key
:
files
:
-
package-lock.json
paths
:
-
node_modules/
policy
:
pull-push
checkstyle
:
stage
:
lint
...
...
@@ -41,6 +43,13 @@ prettier:
-
npm run prettier:check
allow_failure
:
true
needs
:
[
npm-install
]
cache
:
key
:
files
:
-
package-lock.json
paths
:
-
node_modules/
policy
:
pull
eslint
:
stage
:
lint
...
...
@@ -50,6 +59,13 @@ eslint:
-
"
!
grep
-qE
'✖
[0-9]+
problem'
lint.log"
allow_failure
:
true
needs
:
[
npm-install
]
cache
:
key
:
files
:
-
package-lock.json
paths
:
-
node_modules/
policy
:
pull
maven-compile
:
stage
:
build
...
...
@@ -102,6 +118,13 @@ frontend-test:
expire_in
:
1 day
allow_failure
:
true
needs
:
[
npm-install
]
cache
:
key
:
files
:
-
package-lock.json
paths
:
-
node_modules/
policy
:
pull
sonar-analyze
:
stage
:
analyze
...
...
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment