Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from Jan 30, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
50 changes: 28 additions & 22 deletions .github/workflows/test_react_next.yml
Expand Up @@ -6,39 +6,45 @@ on:
name: Test react@next

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# build:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2

- run: yarn install --frozen-lockfile --check-files
env:
NEXT_TELEMETRY_DISABLED: 1
# - run: yarn install --frozen-lockfile --check-files
# env:
# 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
id: cache-build
with:
path: '.'
key: ${{ github.sha }}
# - uses: actions/cache@v1
# id: cache-build
# with:
# path: '.'
# key: ${{ github.sha }}

testAll:
name: Test All
runs-on: ubuntu-latest
needs: build
# needs: build
env:
NEXT_TELEMETRY_DISABLED: 1
HEADLESS: true
strategy:
fail-fast: false
matrix:
group: [1, 2, 3, 4, 5, 6]
steps:
- uses: actions/cache@v1
id: restore-build
with:
path: '.'
key: ${{ github.sha }}
# - uses: actions/cache@v1
# id: restore-build
# with:
# path: '.'
# 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
env:
NEXT_TELEMETRY_DISABLED: 1
HEADLESS: true