Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
52226f3a
Unverified
Commit
52226f3a
authored
4 years ago
by
Michael Lange
Committed by
GitHub
4 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #9256 from hashicorp/ui/upgrade-node
Use Node v12 for UI development
parents
dfa09612
b9bbea65
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.circleci/config.yml
+1
-1
.circleci/config.yml
.circleci/config/jobs/test-ui.yml
+1
-1
.circleci/config/jobs/test-ui.yml
scripts/vagrant-linux-unpriv-ui.sh
+4
-4
scripts/vagrant-linux-unpriv-ui.sh
ui/.nvmrc
+1
-1
ui/.nvmrc
with
7 additions
and
7 deletions
+7
-7
.circleci/config.yml
+
1
-
1
View file @
52226f3a
...
...
@@ -703,7 +703,7 @@ jobs:
docker
:
-
environment
:
JOBS
:
2
image
:
docker.mirror.hashicorp.services/circleci/node:1
0
-browsers
image
:
docker.mirror.hashicorp.services/circleci/node:1
2
-browsers
steps
:
-
checkout
-
restore_cache
:
...
...
This diff is collapsed.
Click to expand it.
.circleci/config/jobs/test-ui.yml
+
1
-
1
View file @
52226f3a
docker
:
-
image
:
docker.mirror.hashicorp.services/circleci/node:1
0
-browsers
-
image
:
docker.mirror.hashicorp.services/circleci/node:1
2
-browsers
environment
:
# See https://git.io/vdao3 for details.
JOBS
:
2
...
...
This diff is collapsed.
Click to expand it.
scripts/vagrant-linux-unpriv-ui.sh
+
4
-
4
View file @
52226f3a
#!/usr/bin/env bash
# Install NVM for simple node.js version management
curl
-sSL
--fail
-o-
https://raw.githubusercontent.com/creationix/nvm/v0.3
3.11
/install.sh | bash
curl
-sSL
--fail
-o-
https://raw.githubusercontent.com/creationix/nvm/v0.3
6.0
/install.sh | bash
# This enables NVM without a logout/login
export
NVM_DIR
=
"/home/vagrant/.nvm"
...
...
@@ -9,9 +9,9 @@ export NVM_DIR="/home/vagrant/.nvm"
[
-s
"
$NVM_DIR
/nvm.sh"
]
&&
.
"
$NVM_DIR
/nvm.sh"
# This loads nvm
# Install Node, Ember CLI, and Phantom for UI development
nvm
install
1
0.15.3
nvm
alias
default 1
0.15.3
nvm
install
1
2
nvm
alias
default 1
2
npm
install
-g
ember-cli
# Install Yarn for front-end dependency management
curl
-o-
-L
https://yarnpkg.com/install.sh | bash
-s
--
--version
1.
15.2
curl
-o-
-L
https://yarnpkg.com/install.sh | bash
-s
--
--version
1.
22.5
This diff is collapsed.
Click to expand it.
ui/.nvmrc
+
1
-
1
View file @
52226f3a
1
0
1
2
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help