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:
4
.github/workflows/e2e-tests.yml
vendored
4
.github/workflows/e2e-tests.yml
vendored
@@ -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
|
||||
|
||||
8
.github/workflows/js-tests.yml
vendored
8
.github/workflows/js-tests.yml
vendored
@@ -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'
|
||||
|
||||
10
.github/workflows/php-tests.yml
vendored
10
.github/workflows/php-tests.yml
vendored
@@ -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:
|
||||
|
||||
2
.github/workflows/types-check.yml
vendored
2
.github/workflows/types-check.yml
vendored
@@ -28,5 +28,5 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Run tests
|
||||
- name: Run Type Checks
|
||||
run: npm run type:check
|
||||
|
||||
Reference in New Issue
Block a user