Unverified Commit e6f401ca authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Disable caching for react@next workflow as its not supported (#10331)

* Disable caching for react@next workflow as its not support

* Disable needs build

* Also add checkout step

* Remove running on pull_request from testing
parent 6f16cef3
...@@ -6,39 +6,45 @@ on: ...@@ -6,39 +6,45 @@ on:
name: Test react@next name: Test react@next
jobs: jobs:
build: # build:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- run: yarn install --frozen-lockfile --check-files # - run: yarn install --frozen-lockfile --check-files
env: # env:
NEXT_TELEMETRY_DISABLED: 1 # NEXT_TELEMETRY_DISABLED: 1
- run: yarn upgrade react@next react-dom@next -W --dev # - run: yarn upgrade react@next react-dom@next -W --dev
- uses: actions/cache@v1 # - uses: actions/cache@v1
id: cache-build # id: cache-build
with: # with:
path: '.' # path: '.'
key: ${{ github.sha }} # key: ${{ github.sha }}
testAll: testAll:
name: Test All name: Test All
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build # needs: build
env:
NEXT_TELEMETRY_DISABLED: 1
HEADLESS: true
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
group: [1, 2, 3, 4, 5, 6] group: [1, 2, 3, 4, 5, 6]
steps: steps:
- uses: actions/cache@v1 # - uses: actions/cache@v1
id: restore-build # id: restore-build
with: # with:
path: '.' # path: '.'
key: ${{ github.sha }} # key: ${{ github.sha }}
- uses: actions/checkout@v2
- run: yarn install --frozen-lockfile --check-files
- run: yarn upgrade react@next react-dom@next -W --dev
- run: node run-tests.js --timings -g ${{ matrix.group }}/6 -c 3 - run: node run-tests.js --timings -g ${{ matrix.group }}/6 -c 3
env:
NEXT_TELEMETRY_DISABLED: 1
HEADLESS: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment