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
Commits
e7ca22f6
Commit
e7ca22f6
authored
11 months ago
by
Andreas Kluge Svendsrud
Browse files
Options
Downloads
Plain Diff
Merge branch 'feat/workflow-ci' into 'main'
Initial GitLab CI configuration See merge request
!2
parents
bf7bcbda
b8815125
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Initial GitLab CI configuration
Pipeline
#273406
failed
11 months ago
Stage: install
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+20
-0
20 additions, 0 deletions
.gitlab-ci.yml
with
20 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
20
−
0
View file @
e7ca22f6
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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