Skip to content

Commit fe5872a

Browse files
committed
WIP: Add Node 10 job to workflow
Summary: Pull Request resolved: facebook#19299 Differential Revision: D9413583 Pulled By: hramos fbshipit-source-id: 61ac48e46feaba5f1ec80362b5e1c7f2787ee167
1 parent e166462 commit fe5872a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.circleci/config.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,21 @@ jobs:
433433
- store_test_results:
434434
path: ~/react-native/reports/junit
435435

436+
# Run JavaScript tests on Node 10
437+
test_node10:
438+
<<: *defaults
439+
docker:
440+
- image: circleci/node:10
441+
environment:
442+
- PATH: "/opt/yarn/yarn-v1.5.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
443+
steps:
444+
- checkout
445+
- run: *setup-artifacts
446+
- run: *yarn
447+
- run: *run-js-tests
448+
- store_test_results:
449+
path: ~/react-native/reports/junit
450+
436451
# Runs unit tests on iOS and Apple TV devices
437452
test_objc:
438453
<<: *macos_defaults
@@ -665,6 +680,10 @@ workflows:
665680
requires:
666681
- checkout_code
667682

683+
# Test JavaScript and Node 10 compatibility
684+
- test_node10:
685+
filters: *filter-ignore-gh-pages
686+
668687
# Test Android
669688
- test_android:
670689
filters: *filter-ignore-gh-pages

0 commit comments

Comments
 (0)