mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
refactor nodejs image in analyze_pr task (#23433)
Summary: move all node image to official one, and remove redundant path. Pull Request resolved: https://github.com/facebook/react-native/pull/23433 Differential Revision: D14080808 Pulled By: cpojer fbshipit-source-id: c8f7ec90a8c59129a0d8c5667f3c648dd7865be3
This commit is contained in:
committed by
Facebook Github Bot
parent
410d583951
commit
539ca06d0f
@@ -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"
|
||||
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user