Skip to content

Commit 2787d71

Browse files
committed
configuring CI for new libraries, various tweaks, README
1 parent c76583e commit 2787d71

File tree

9 files changed

+1516
-83
lines changed

9 files changed

+1516
-83
lines changed

.github/workflows/test.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,16 @@ jobs:
5454
cd src/LazyImage
5555
composer update --prefer-lowest --prefer-dist --no-interaction --no-ansi --no-progress
5656
php vendor/bin/simple-phpunit
57+
- name: TwigComponent
58+
run: |
59+
cd src/TwigComponent
60+
composer update --prefer-lowest --prefer-dist --no-interaction --no-ansi --no-progress
61+
php vendor/bin/simple-phpunit
62+
- name: LiveComponent
63+
run: |
64+
cd src/LiveComponent
65+
composer update --prefer-lowest --prefer-dist --no-interaction --no-ansi --no-progress
66+
php vendor/bin/simple-phpunit
5767
5868
tests-php-high-deps:
5969
runs-on: ubuntu-latest
@@ -86,10 +96,30 @@ jobs:
8696
composer config platform.php 7.4.99
8797
composer update --prefer-dist --no-interaction --no-ansi --no-progress
8898
php vendor/bin/simple-phpunit
99+
- name: TwigComponent
100+
run: |
101+
cd src/TwigComponent
102+
composer config platform.php 7.4.99
103+
composer update --prefer-dist --no-interaction --no-ansi --no-progress
104+
php vendor/bin/simple-phpunit
105+
- name: LiveComponent
106+
run: |
107+
cd src/LiveComponent
108+
composer config platform.php 7.4.99
109+
composer update --prefer-dist --no-interaction --no-ansi --no-progress
110+
php vendor/bin/simple-phpunit
89111
90112
tests-js:
91113
runs-on: ubuntu-latest
92114
steps:
93115
- uses: actions/checkout@master
94116
- run: yarn
95117
- run: yarn test
118+
119+
- name: Verify dist files are up to date
120+
run: |
121+
if [ -z "$(git status --porcelain)" ]; then
122+
exit 0
123+
else
124+
exit 1
125+
fi

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ integrating it into [Webpack Encore](https://github.com/symfony/webpack-encore).
3434
Improve image loading performances through lazy-loading and data-uri thumbnails
3535
- [UX Swup](https://github.com/symfony/ux-swup):
3636
[Swup](https://swup.js.org/) page transition library integration for Symfony
37+
- [Twig Component](https://github.com/symfony/ux-twig-component):
38+
A system to build reusable "components" with Twig
39+
- [Live Component](https://github.com/symfony/ux-live-component):
40+
Gives Twig Components a URL and a JavaScript library to automatically re-render via Ajax as your user interacts with it
3741

3842
## Stimulus Tools around the World
3943

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"private": true,
33
"workspaces": [
4-
"src/**/Resources/assets"
4+
"src/**/Resources/assets",
5+
"src/**/assets"
56
],
67
"scripts": {
78
"build": "yarn workspaces run build",

src/LiveComponent/.github/workflows/ci.yml

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)