Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
fix(circleci): fix node version, resource_class, conditional known_hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewLeedham committed Mar 6, 2019
1 parent ee481be commit 9d5af1c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ version: 2
defaults: &defaults
working_directory: ~/repo
docker:
- image: circleci/node:10
- image: circleci/node:10.14.1
resource_class: small

jobs:
install_lint:
Expand Down Expand Up @@ -36,7 +37,11 @@ jobs:
- run:
name: Configure git
command: |
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
if [ ! -f ~/.ssh/known_hosts ]; then
ssh-keyscan -H github.com > ~/.ssh/known_hosts
else
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
fi
git config --global user.email "xeroxinteractive-circleci@xerox.com"
git config --global user.name "CircleCI"
Expand Down

0 comments on commit 9d5af1c

Please sign in to comment.