Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
log-schema-node
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
logging
log-schema-node
Commits
5dd00bc9
Commit
5dd00bc9
authored
Sep 24, 2019
by
Eirik Alvær
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use NEXUS_NPM_CONFIG env var for publishing in gitlab ci.
parent
f64c31b5
Pipeline
#23935
failed with stage
in 17 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
.gitlab-ci.yml
.gitlab-ci.yml
+3
-6
No files found.
.gitlab-ci.yml
View file @
5dd00bc9
...
...
@@ -5,15 +5,15 @@ stages:
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
before_script
:
-
echo $NEXUS_NPM_CONFIG | tr ' ' '\n' > ~/.npmrc
test
:
stage
:
test
except
:
-
tags
image
:
node:8-alpine
script
:
-
echo $NEXUS_NPM_TOKEN > ~/.npmrc
-
echo 'always-auth=true' >> ~/.npmrc
-
npm set @nsd:registry https://nexus.nsd.no/repository/npm-group/
-
npm install
-
npm run build
...
...
@@ -23,9 +23,6 @@ publish:
-
tags
image
:
node:8-alpine
script
:
-
echo $NEXUS_NPM_TOKEN > ~/.npmrc
-
echo 'always-auth=true' >> ~/.npmrc
-
npm set @nsd:registry https://nexus.nsd.no/repository/npm-group/
-
npm install
-
npm run build
-
echo $NEXUS_NPM_PUB_TOKEN > ~/.npmrc
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment