Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
usp-js
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
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WebSDK
usp-js
Commits
c5bc60b5
Commit
c5bc60b5
authored
4 years ago
by
Suru Dissanaike
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml
parent
1d17d59c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#9531
failed
4 years ago
Stage: install
Stage: unit-testing
Stage: deploy-pages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+26
-5
26 additions, 5 deletions
.gitlab-ci.yml
with
26 additions
and
5 deletions
.gitlab-ci.yml
+
26
−
5
View file @
c5bc60b5
image
:
alpine:latest
image
:
node:14.15.4
cache
:
untracked
:
true
key
:
"
$CI_BUILD_REF_NAME"
paths
:
-
node_modules/
pages
:
stage
:
deploy
stages
:
-
install
-
unit-testing
-
deploy-pages
install
:
stage
:
install
script
:
-
npm install
-
npm install --only=dev
unit_testing
:
stage
:
unit-testing
script
:
-
npm run test
deploy_pages
:
image
:
alpine:latest
stage
:
deploy-pages
script
:
-
echo '
Nothing to do
...'
-
echo '
Deploying
...'
artifacts
:
paths
:
-
public
expire_in
:
1 day
only
:
-
master
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