mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-13 19:35:41 +00:00
Regularly test against next builds of React
Test against react@next Once a week on Monday Close #1484 Close #2318
This commit is contained in:
committed by
Nicolas Gallagher
parent
7f85495b7e
commit
379da30e4c
21
.github/workflows/react-integration.yml
vendored
Normal file
21
.github/workflows/react-integration.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: react@next integration
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run every Monday at 12:00 (see https://crontab.guru)
|
||||
- cron: '0 12 * * 1'
|
||||
|
||||
jobs:
|
||||
react-next:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.x'
|
||||
- run: npm install -g yarn
|
||||
- run: yarn install
|
||||
# Install next-tagged versions
|
||||
- run: yarn upgrade react@next react-dom@next -W --dev
|
||||
# Only run the unit tests
|
||||
- run: yarn jest
|
||||
@@ -27,7 +27,7 @@
|
||||
"prerelease": "yarn test && yarn compile",
|
||||
"release": "node ./scripts/release/publish.js",
|
||||
"postrelease": "yarn docs:release && yarn benchmarks:release",
|
||||
"test": "yarn flow && yarn lint:report && yarn jest --runInBand"
|
||||
"test": "yarn flow && yarn fmt:report && yarn lint:report && yarn jest --runInBand"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.12.13",
|
||||
|
||||
Reference in New Issue
Block a user