diff --git a/.github/workflows/react-integration.yml b/.github/workflows/react-integration.yml new file mode 100644 index 00000000..4e3625ea --- /dev/null +++ b/.github/workflows/react-integration.yml @@ -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 diff --git a/package.json b/package.json index f2d1cef6..37c9c19d 100644 --- a/package.json +++ b/package.json @@ -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",