Unverified Commit ed44d92b authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Test `react(-dom)@canary` Every 12 Hours (#9151)

* Test `react(-dom)@canary` Every 12 Hours

* Use POSIX syntax

* Test

* Revert "Test"

This reverts commit ba5f22f0b0a2255613b8f11af84581722ad2ca7a.

* Print react versions prior to test

* Revert "Revert "Test""

This reverts commit 0b3cde3c4226066309561ca7c9e684070999af32.

* Revert "Revert "Revert "Test"""

This reverts commit c2c284a7a8d6dc9f39c6d16df109da3ed402afdf.
parent 94c2c084
...@@ -41,6 +41,16 @@ commands: ...@@ -41,6 +41,16 @@ commands:
- run: - run:
name: Linting name: Linting
command: yarn lint command: yarn lint
yarn_react_canary:
steps:
- run:
name: Upgrade to React Canary
command: yarn upgrade react@canary react-dom@canary -W --dev # upgrade (vs add) will skip re-building Next.js, which doesn't bundle React internals (so this is OK!)
yarn_info:
steps:
- run:
name: React Versions
command: yarn why react && yarn why react-dom
test_all: test_all:
steps: steps:
- run: - run:
...@@ -114,11 +124,18 @@ jobs: ...@@ -114,11 +124,18 @@ jobs:
- yarn_install - yarn_install
- yarn_lint - yarn_lint
- *persist_to_workspace - *persist_to_workspace
build-react-canary:
executor: node
steps:
- *attach_workspace
- yarn_react_canary
- *persist_to_workspace
test: test:
parallelism: 3 parallelism: 3
executor: node executor: node
steps: steps:
- *attach_workspace - *attach_workspace
- yarn_info
- test_all - test_all
- *store_test_results - *store_test_results
test-ie11: test-ie11:
...@@ -196,3 +213,19 @@ workflows: ...@@ -196,3 +213,19 @@ workflows:
only: only:
- master - master
- canary - canary
q12h-react-canary:
triggers:
- schedule:
cron: '0 0,12 * * *'
filters:
branches:
only:
- canary
jobs:
- build
- build-react-canary:
requires:
- build
- test:
requires:
- build-react-canary
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment