Skip to content

Commit 7d2daa0

Browse files
sweggersenfacebook-github-bot
authored andcommitted
Add nightly build (#28066)
Summary: Note: I'm currently testing this, so do not review just yet. Adding a nightly CI build in preparation for further work on [React Native: Benchmark Suite](react-native-community/discussions-and-proposals#186.) Currently it will only run the job `nightly_job` which will simply run `$ echo "Nightly build run"`. The plan is to do nightly checks and performance status on the React Native repo, and create a dashboard where we can see performance changes over time. More on this in the proposal: [React Native: Benchmark Suite](react-native-community/discussions-and-proposals#186.) ## Changelog [General] [Added] - Add nightly CI build Pull Request resolved: #28066 Test Plan: Individual jobs will have their own test plan. Reviewed By: sebmck Differential Revision: D20008434 Pulled By: hramos fbshipit-source-id: a5e8aad616c28bfad8f3455b5ebadf7a7d174a55
1 parent 5be8669 commit 7d2daa0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.circleci/config.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,10 +617,23 @@ jobs:
617617
echo "machine github.com login react-native-bot password $GITHUB_TOKEN" > ~/.netrc
618618
- run: node ./scripts/publish-npm.js
619619

620+
# -------------------------
621+
# JOBS: Nightly
622+
# -------------------------
623+
nightly_job:
624+
machine: true
625+
steps:
626+
- run:
627+
name: Nightly
628+
command: |
629+
echo "Nightly build run"
630+
620631
# -------------------------
621632
# WORK FLOWS
622633
# -------------------------
623634
workflows:
635+
version: 2
636+
624637
tests:
625638
jobs:
626639
- setup:
@@ -722,3 +735,14 @@ workflows:
722735
- js_coverage:
723736
requires:
724737
- setup
738+
739+
nightly:
740+
triggers:
741+
- schedule:
742+
cron: "0 * * * *"
743+
filters:
744+
branches:
745+
only:
746+
- master
747+
jobs:
748+
- nightly_job

0 commit comments

Comments
 (0)