Skip to content

Commit

Permalink
refactor nodejs image in analyze_pr task (#23433)
Browse files Browse the repository at this point in the history
Summary:
move all node image to official one, and remove redundant path.
Pull Request resolved: #23433

Differential Revision: D14080808

Pulled By: cpojer

fbshipit-source-id: c8f7ec90a8c59129a0d8c5667f3c648dd7865be3
  • Loading branch information
gengjiawen authored and facebook-github-bot committed Feb 14, 2019
1 parent 410d583 commit 539ca06
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -468,9 +468,8 @@ jobs:
analyze_pr:
<<: *defaults
docker:
- image: circleci/node:10
- image: node:lts
environment:
- PATH: "/opt/yarn/yarn-v1.5.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
- PUBLIC_PULLBOT_GITHUB_TOKEN_A: "a6edf8e8d40ce4e8b11a"
- PUBLIC_PULLBOT_GITHUB_TOKEN_B: "150e1341f4dd9c944d2a"
- PUBLIC_ANALYSISBOT_GITHUB_TOKEN_A: "78a72af35445ca3f8180"
Expand All @@ -487,7 +486,7 @@ jobs:
name: Analyze Shell Scripts
command: |
echo -e "\\x1B[36mInstalling additional dependencies\\x1B[0m"
sudo apt-get install -y shellcheck
apt update && apt install -y shellcheck
yarn add @octokit/rest@15.18.0
echo -e "\\x1B[36mAnalyzing shell scripts\\x1B[0m"; \
GITHUB_TOKEN="$PUBLIC_ANALYSISBOT_GITHUB_TOKEN_A""$PUBLIC_ANALYSISBOT_GITHUB_TOKEN_B" \
Expand Down

0 comments on commit 539ca06

Please sign in to comment.