feat: v4.0.0 (#1016)
Co-authored-by: Denys Konovalov <kontakt@denyskon.de> Co-authored-by: Mathieu COSYNS <64072917+Mathieu-COSYNS@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
682576ffc4
commit
799c7e6936
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
packages/app/yarn.lock
|
||||
packages/core/yarn.lock
|
||||
packages/docs/yarn.lock
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
@ -50,7 +50,7 @@ jobs:
|
||||
packages/app/yarn.lock
|
||||
packages/core/yarn.lock
|
||||
packages/docs/yarn.lock
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
@ -75,7 +75,7 @@ jobs:
|
||||
packages/app/yarn.lock
|
||||
packages/core/yarn.lock
|
||||
packages/docs/yarn.lock
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
@ -105,7 +105,7 @@ jobs:
|
||||
packages/app/yarn.lock
|
||||
packages/core/yarn.lock
|
||||
packages/docs/yarn.lock
|
||||
node-version: 16
|
||||
node-version: 18
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
|
49
.github/workflows/cypress.yml
vendored
Normal file
49
.github/workflows/cypress.yml
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
name: Cypress Tests
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: ['main', 'next']
|
||||
pull_request:
|
||||
branches: ['main', 'next']
|
||||
|
||||
jobs:
|
||||
cypress-run:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false # https://github.com/cypress-io/github-action/issues/48
|
||||
matrix:
|
||||
containers: [1, 2] # Uses 2 parallel instances
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: yarn
|
||||
cache-dependency-path: |
|
||||
yarn.lock
|
||||
packages/app/yarn.lock
|
||||
packages/core/yarn.lock
|
||||
packages/docs/yarn.lock
|
||||
node-version: 18
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
yarn install --frozen-lockfile
|
||||
|
||||
- name: Run Cypress Tests
|
||||
uses: cypress-io/github-action@v6
|
||||
with:
|
||||
start: yarn dev
|
||||
wait-on: 'http://localhost:8080'
|
||||
record: true # Records to Cypress Cloud
|
||||
parallel: true # Runs test in parallel using settings above
|
||||
env:
|
||||
# For recording and parallelization to work you must set your CYPRESS_RECORD_KEY
|
||||
# in GitHub repo → Settings → Secrets → Actions
|
||||
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
|
||||
# Creating a token https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
|
||||
GITHUB_TOKEN: ${{ secrets.CYPRESS_GITHUB_TOKEN }}
|
Reference in New Issue
Block a user