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
Merge requests
!44
Publish on npm using CI pipeline
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Publish on npm using CI pipeline
release-npm
into
main
Overview
0
Commits
8
Pipelines
1
Changes
2
Merged
Bastien Abadie
requested to merge
release-npm
into
main
3 years ago
Overview
0
Commits
8
Pipelines
1
Changes
2
Expand
Closes
#44 (closed)
0
0
Merge request reports
Viewing commit
5e1a07da
Prev
Next
Show latest version
2 files
+
2
−
5
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
5e1a07da
Should be working now
· 5e1a07da
Bastien Abadie
authored
3 years ago
.gitlab-ci.yml
+
2
−
2
Options
@@ -116,8 +116,8 @@ release-npm:
-
tags
before_script
:
-
echo '
@teklia:registry=https://registry.npmjs.org/
' > .npmrc
-
echo
'
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
'
>> .npmrc
-
echo '
always-auth=true
' > .npmrc
-
echo
"
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
"
>> .npmrc
script
:
-
npm publish --access public
Loading