27: Cleaned up code #81
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Do not edit this file! Make a pull request on changing | |
# github/workflows/symfony/styles.yaml in | |
# https://github.com/itk-dev/devops_itkdev-docker if need be. | |
### ### Symfony Styles (CSS and SCSS) | |
### | |
### Validates styles files. | |
### | |
### #### Assumptions | |
### | |
### 1. A docker compose service named `prettier` for running | |
### [Prettier](https://prettier.io/) exists. | |
name: Styles | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
styles-lint: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: | | |
docker network create frontend | |
- run: | | |
docker compose run --rm prettier 'assets/**/*.{css,scss}' --check |