Skip to content

Commit

Permalink
Update Node.js to v12.20.0
Browse files Browse the repository at this point in the history
Fix #713
  • Loading branch information
Minggang Wang committed Nov 26, 2020
1 parent ff27ef8 commit 7b19103
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
- run: brew install asio console_bridge log4cxx spdlog
- run: python3 -m pip install catkin_pkg empy ifcfg lark-parser lxml netifaces numpy pyparsing pyyaml setuptools argcomplete colcon-common-extensions
- run: mkdir -p ~/ros2_install && cd ~/ros2_install && wget https://github.com/ros2/ros2/releases/download/release-foxy-20201009/ros2-foxy-20201009-macos-amd64.tar.bz2 && tar xf ros2-foxy-20201009-macos-amd64.tar.bz2
- run: wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
- run: wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
- run: echo "source $HOME/.bashrc" >> ~/.bash_profile
- run: cat ~/.bash_profile
- run: nvm install v12.18.4
- run: nvm alias default v12.18.4
- run: nvm install v12.20.0
- run: nvm alias default v12.20.0
- run: node --version && npm --version && rm -rf ./node_modules/
- run: source ~/ros2_install/ros2-osx/local_setup.bash && git submodule init && git submodule update && npm install --python=python2.7
- run: export PATH="/usr/local/opt/python@2/libexec/bin:$PATH" && npm run lint
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ RUN rosdep install --from-paths $ROS2_WS/ros2-linux/share --ignore-src --rosdist
RUN echo "source $ROS2_WS/ros2-linux/local_setup.bash" >> $HOME/.bashrc

# Install nvm, Node.js and node-gyp
<<<<<<< HEAD
ENV NODE_VERSION v12.18.4
RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.36.0/install.sh | bash
=======
ENV NODE_VERSION v12.20.0
RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
>>>>>>> Update Node.js to v12.20.0

ENV PATH /bin/versions/node/$NODE_VERSION/bin:$PATH

0 comments on commit 7b19103

Please sign in to comment.