Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IDATT-2501-Backend
Manage
Activity
Members
Labels
Plan
Issues
32
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TrioTech
IDATT-2501-Backend
Merge requests
!21
Added cache usage to ci
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added cache usage to ci
update-pipeline
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Magnus Lutro Allison
requested to merge
update-pipeline
into
main
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Adds cache to the pipeline
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
465d4fb0
1 commit,
1 year ago
1 file
+
12
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
+
12
−
1
Options
image
:
node:16-buster
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
node_modules/
@@ -12,6 +13,11 @@ install_dependencies:
stage
:
install
script
:
-
npm ci
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
node_modules/
policy
:
push
init_backend_server
:
stage
:
init
@@ -21,4 +27,9 @@ init_backend_server:
-
sleep
20
-
pkill node
dependencies
:
-
install_dependencies
\ No newline at end of file
-
install_dependencies
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
node_modules/
policy
:
pull
\ No newline at end of file
Loading