From be7faf6c77d3e4069c8672cd4a45b045b0b4432c Mon Sep 17 00:00:00 2001 From: suyanhanx Date: Thu, 4 May 2023 15:44:04 +0800 Subject: [PATCH] ci: Add daily test job for react canary Signed-off-by: suyanhanx --- .github/workflows/test-canary.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test-canary.yml diff --git a/.github/workflows/test-canary.yml b/.github/workflows/test-canary.yml new file mode 100644 index 000000000..d86e746a1 --- /dev/null +++ b/.github/workflows/test-canary.yml @@ -0,0 +1,25 @@ +name: Test React Canary + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install + uses: ./.github/workflows/install + + - name: Install Canary + run: pnpm upgrade react@canary react-dom@canary + + - name: Lint and test + run: | + pnpm run-all-checks + pnpm clean + pnpm build + pnpm test:build