feat(relay): render dd() responses properly (#29)

* feat(relay): render `dd()` responses correctly

* wiki(relay): `dd` responses

* test: fix failing test after changing test id

* style: apply TS style fixes

* style: apply php style fixes

* chore: fix types

* build: always run php and js test on PR changes

* test(relay): simplify test

* build: use proper cache key for e2e job

* feat(relay): more assertive dd parser

* build: fix package.json indentation

* build: properly build for `dev` mode

* test: correctly install current branch artifacts for E2E

* test: fail fast for PW tests

* build: don't run php and js tests twice on PRs

* test: PW fixes

* test: correctly build artifacts from branch for E2E

* chore: fix naming

* fix(relay): properly parse some type of closures in `dd`

* test: enable parallel runs for PW

* test(relay): simplify `dd` E2E test
This commit is contained in:
Mazen Touati
2026-01-04 15:57:57 +01:00
committed by GitHub
parent 64ef46a8a4
commit e3b3370ebe
53 changed files with 5698 additions and 142 deletions

View File

@@ -3,7 +3,7 @@ on:
push:
branches: [ base ]
pull_request:
branches: [ base ]
branches: [ base ]
jobs:
test:
timeout-minutes: 5
@@ -44,7 +44,7 @@ jobs:
uses: actions/cache@v3
with:
path: vendor
key: composer-cache-${{ hashFiles('composer.lock') }}
key: composer-cache-${{ steps.branch.outputs.branch_name }}
restore-keys: |
composer-8.2-L12
composer-8.2

View File

@@ -1,7 +1,15 @@
name: run-js-tests
on:
pull_request:
paths:
- '**.ts'
- '**.js'
- '.github/workflows/js-tests.yml'
- 'package.json'
- 'package-lock.json'
push:
branches: [ base ]
paths:
- '**.ts'
- '**.js'

View File

@@ -1,13 +1,21 @@
name: run-php-tests
on:
push:
pull_request:
paths:
- '**.php'
- '.github/workflows/php-tests.yml'
- '../../tests/phpunit.xml.dist'
- 'composer.json'
- 'composer.lock'
push:
branches: [ base ]
paths:
- '**.php'
- '.github/workflows/php-tests.yml'
- 'tests/phpunit.xml.dist'
- 'composer.json'
- 'composer.lock'
jobs:
test:

View File

@@ -28,5 +28,5 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Run tests
- name: Run Type Checks
run: npm run type:check