Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Virtual Keyboard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
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
Escriptorium
Virtual Keyboard
Commits
2f098449
Commit
2f098449
authored
3 years ago
by
Bastien Abadie
Browse files
Options
Downloads
Patches
Plain Diff
Use build-lib instead of build-surge
parent
86bed461
No related branches found
No related tags found
1 merge request
!44
Publish on npm using CI pipeline
Pipeline
#5759
failed
3 years ago
Stage: test
Stage: build
Stage: release
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-1
7 additions, 1 deletion
.gitlab-ci.yml
with
7 additions
and
1 deletion
.gitlab-ci.yml
+
7
−
1
View file @
2f098449
...
@@ -42,7 +42,7 @@ build-webext:
...
@@ -42,7 +42,7 @@ build-webext:
script
:
script
:
-
npm run build-ext
-
npm run build-ext
build-
surge
:
build-
lib
:
stage
:
build
stage
:
build
# Ignore frontend-audit to speed up CI builds
# Ignore frontend-audit to speed up CI builds
...
@@ -73,6 +73,9 @@ build-surge:
...
@@ -73,6 +73,9 @@ build-surge:
deploy-surge
:
deploy-surge
:
extends
:
.surge
extends
:
.surge
dependencies
:
-
build-lib
# Only deploy branches on surge
# Only deploy branches on surge
rules
:
rules
:
-
if
:
'
$CI_COMMIT_BRANCH
&&
$CI_COMMIT_BRANCH
!=
"master"'
-
if
:
'
$CI_COMMIT_BRANCH
&&
$CI_COMMIT_BRANCH
!=
"master"'
...
@@ -109,6 +112,9 @@ stop-surge:
...
@@ -109,6 +112,9 @@ stop-surge:
release-private
:
release-private
:
stage
:
release
stage
:
release
dependencies
:
-
build-lib
# Publish only on tags
# Publish only on tags
only
:
only
:
-
tags
-
tags
...
...
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