fix(fields): remove useKey #3386
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E | |
on: push | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
# Normal E2E testing with Cypress | |
test_e2e: | |
name: E2E Test | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
containers: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | |
steps: | |
- name: Checkout | |
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }} | |
uses: actions/checkout@v4 | |
- name: Setup | |
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install | |
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }} | |
uses: ./.github/actions/install | |
- name: Test | |
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }} | |
uses: cypress-io/github-action@v6 | |
with: | |
component: true | |
config-file: config/cypress.config.ts | |
install: false | |
parallel: true | |
record: true | |
tag: components | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} | |
# Release build sanity check with Cypress | |
test_e2e_release: | |
name: Release E2E Test | |
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install | |
uses: ./.github/actions/install | |
- name: Serve Release Sample | |
run: | | |
yarn test:e2e:release:setup & | |
bash -c 'while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' localhost:3000)" != "200" ]]; do sleep 5; done' | |
- name: Test | |
uses: cypress-io/github-action@v6 | |
with: | |
config-file: config/cypress.config.ts | |
install: false | |
parallel: false | |
record: true | |
tag: release | |
env: | |
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GH_PAT }} |