Fix NodeJS installation problem in CircleCI

Also remove a commented environment setting.
This commit is contained in:
Tero Paloheimo 2020-08-13 22:02:52 +03:00
parent c137b7d1ee
commit 2e41bafc43

View file

@ -4,17 +4,15 @@ jobs:
working_directory: ~/honeysql working_directory: ~/honeysql
docker: docker:
- image: circleci/clojure:openjdk-11-tools-deps-1.10.0.442 - image: circleci/clojure:openjdk-11-tools-deps-1.10.0.442
# environment:
# JVM_OPTS: -Xmx3200m
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: honeysql-{{ checksum "deps.edn" }} key: honeysql-{{ checksum "deps.edn" }}
- run: - run:
name: Install Node name: Install Node
command: sudo apt-get install -y nodejs command: sudo apt-get update && sudo apt-get install -y nodejs
- run: - run:
name: Add node symlink name: Add Node symlink
command: sudo ln -s /usr/bin/js /usr/bin/node command: sudo ln -s /usr/bin/js /usr/bin/node
- run: - run:
name: Download Dependencies name: Download Dependencies