Skip to content

Commit

Permalink
Test react(-dom)@canary Every 12 Hours (vercel#9151)
Browse files Browse the repository at this point in the history
* Test `react(-dom)@canary` Every 12 Hours

* Use POSIX syntax

* Test

* Revert "Test"

This reverts commit ba5f22f.

* Print react versions prior to test

* Revert "Revert "Test""

This reverts commit 0b3cde3.

* Revert "Revert "Revert "Test"""

This reverts commit c2c284a.
  • Loading branch information
Timer authored Oct 21, 2019
1 parent 94c2c08 commit ed44d92
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ commands:
- run:
name: Linting
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:
steps:
- run:
Expand Down Expand Up @@ -114,11 +124,18 @@ jobs:
- yarn_install
- yarn_lint
- *persist_to_workspace
build-react-canary:
executor: node
steps:
- *attach_workspace
- yarn_react_canary
- *persist_to_workspace
test:
parallelism: 3
executor: node
steps:
- *attach_workspace
- yarn_info
- test_all
- *store_test_results
test-ie11:
Expand Down Expand Up @@ -196,3 +213,19 @@ workflows:
only:
- master
- 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

0 comments on commit ed44d92

Please sign in to comment.