Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
idatt2106-2024-07
frontend
Merge requests
!2
Initial GitLab CI configuration
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Initial GitLab CI configuration
feat/workflow-ci
into
main
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Andreas Kluge Svendsrud
requested to merge
feat/workflow-ci
into
main
1 year ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
Workflow that install dependencies and builds (use cache to store dependencies per branch)
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
b8815125
1 commit,
1 year ago
1 file
+
20
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
.gitlab-ci.yml
0 → 100644
+
20
−
0
Options
stages
:
-
install
-
build
cache
:
paths
:
-
node_modules/
key
:
"
$CI_BUILD_REF_NAME"
# Separate cache for each branch
install_dependencies
:
stage
:
install
image
:
node:latest
script
:
-
npm install
build_project
:
stage
:
build
image
:
node:latest
script
:
-
npm run build
\ No newline at end of file
Loading