Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
tci-gateway-module
Grpc
Commits
f5083fe3
Commit
f5083fe3
authored
7 years ago
by
murgatroid99
Browse files
Options
Downloads
Patches
Plain Diff
Update npm when building Node artifacts
parent
bf109267
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/run_tests/artifacts/build_artifact_node.bat
+2
-0
2 additions, 0 deletions
tools/run_tests/artifacts/build_artifact_node.bat
tools/run_tests/artifacts/build_artifact_node.sh
+2
-0
2 additions, 0 deletions
tools/run_tests/artifacts/build_artifact_node.sh
with
4 additions
and
0 deletions
tools/run_tests/artifacts/build_artifact_node.bat
+
2
−
0
View file @
f5083fe3
...
@@ -35,6 +35,8 @@ set PATH=%PATH%;C:\Program Files\nodejs\;%APPDATA%\npm
...
@@ -35,6 +35,8 @@ set PATH=%PATH%;C:\Program Files\nodejs\;%APPDATA%\npm
del
/f /q
BUILD
||
rmdir
build
/s /q
del
/f /q
BUILD
||
rmdir
build
/s /q
call
npm
update
-g
npm
call
npm
update
||
goto
:error
call
npm
update
||
goto
:error
mkdir
-p
%ARTIFACTS_OUT%
mkdir
-p
%ARTIFACTS_OUT%
...
...
This diff is collapsed.
Click to expand it.
tools/run_tests/artifacts/build_artifact_node.sh
+
2
−
0
View file @
f5083fe3
...
@@ -34,6 +34,8 @@ source ~/.nvm/nvm.sh
...
@@ -34,6 +34,8 @@ source ~/.nvm/nvm.sh
nvm use 4
nvm use 4
set
-ex
set
-ex
npm update
-g
npm
cd
$(
dirname
$0
)
/../../..
cd
$(
dirname
$0
)
/../../..
rm
-rf
build
||
true
rm
-rf
build
||
true
...
...
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