Skip to content

Commit bbc5de3

Browse files
committed
minor #1493 Update tests.yaml (seb-jean)
This PR was merged into the main branch. Discussion ---------- Update tests.yaml Hi, I updated the workflow to have the same as the one proposed in the blog article: [Upgrading Symfony Websites to AssetMapper ](https://symfony.com/blog/upgrading-symfony-websites-to-assetmapper#changes-in-ci-and-deployment) What do you think ? Commits ------- 1ab3e52 Update tests.yaml
2 parents b3aee5f + 1ab3e52 commit bbc5de3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/tests.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,11 @@ jobs:
6262
- name: "Install dependencies"
6363
run: composer install --ansi --no-interaction --no-progress
6464

65-
- name: "Build Sass"
66-
run: php bin/console sass:build
65+
- name: "Build and compile assets"
66+
run: |
67+
php bin/console importmap:install
68+
php bin/console sass:build
69+
php bin/console asset-map:compile
6770
6871
- name: "Install PHPUnit"
6972
run: vendor/bin/simple-phpunit install

0 commit comments

Comments
 (0)