Skip to content

Commit 379da30

Browse files
yuxizhenecolas
authored andcommitted
Regularly test against next builds of React
Test against react@next Once a week on Monday Close necolas#1484 Close necolas#2318
1 parent 7f85495 commit 379da30

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: react@next integration
2+
3+
on:
4+
schedule:
5+
# Run every Monday at 12:00 (see https://crontab.guru)
6+
- cron: '0 12 * * 1'
7+
8+
jobs:
9+
react-next:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v1
14+
with:
15+
node-version: '14.x'
16+
- run: npm install -g yarn
17+
- run: yarn install
18+
# Install next-tagged versions
19+
- run: yarn upgrade react@next react-dom@next -W --dev
20+
# Only run the unit tests
21+
- run: yarn jest

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"prerelease": "yarn test && yarn compile",
2828
"release": "node ./scripts/release/publish.js",
2929
"postrelease": "yarn docs:release && yarn benchmarks:release",
30-
"test": "yarn flow && yarn lint:report && yarn jest --runInBand"
30+
"test": "yarn flow && yarn fmt:report && yarn lint:report && yarn jest --runInBand"
3131
},
3232
"devDependencies": {
3333
"@babel/cli": "^7.12.13",

0 commit comments

Comments
 (0)