Skip to content

Commit

Permalink
Merge pull request #95 from palantirnet/specify-node-on-circleci
Browse files Browse the repository at this point in the history
Allow specifying a node version on CircleCI.
  • Loading branch information
becw authored Sep 5, 2018
2 parents 0d3c3ac + aaf54ad commit 3011632
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
environment:
- PALANTIR_ENVIRONMENT: circle
- DRUPAL_ROOT: web
- NODE_VERSION: 8

branches:
ignore:
Expand All @@ -24,6 +25,14 @@ jobs:
- run:
name: Install packages
command: sudo apt-get install -y libpng-dev mysql-client
- run:
name: Install nvm
command: |
set +e
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
touch $BASH_ENV
echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV
- run:
name: Install PHP extensions
command: sudo docker-php-ext-install pdo_mysql gd
Expand Down

0 comments on commit 3011632

Please sign in to comment.