From 91bba3031207be3a9be0cbc44b5d97bb65739ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Mon, 20 Aug 2018 17:31:59 -0700 Subject: [PATCH] WIP: Add Node 10 job to workflow Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/19299 Differential Revision: D9413583 Pulled By: hramos fbshipit-source-id: 61ac48e46feaba5f1ec80362b5e1c7f2787ee167 --- .circleci/config.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 26a713b185c..50f4a5f4b9a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -433,6 +433,21 @@ jobs: - store_test_results: path: ~/react-native/reports/junit + # Run JavaScript tests on Node 10 + test_node10: + <<: *defaults + docker: + - image: circleci/node:10 + environment: + - PATH: "/opt/yarn/yarn-v1.5.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + steps: + - checkout + - run: *setup-artifacts + - run: *yarn + - run: *run-js-tests + - store_test_results: + path: ~/react-native/reports/junit + # Runs unit tests on iOS and Apple TV devices test_objc: <<: *macos_defaults @@ -665,6 +680,10 @@ workflows: requires: - checkout_code + # Test JavaScript and Node 10 compatibility + - test_node10: + filters: *filter-ignore-gh-pages + # Test Android - test_android: filters: *filter-ignore-gh-pages