File tree Expand file tree Collapse file tree 3 files changed +50
-12
lines changed Expand file tree Collapse file tree 3 files changed +50
-12
lines changed Original file line number Diff line number Diff line change 11<!-- DO NOT EDIT THIS FILE!
22
3- It was automatically created at 2025-04-09T11:40:57 +02:00
3+ It was automatically created at 2025-05-02T11:24:41 +02:00
44by task/scripts/github-documentation-update
55based on /app/task/scripts/../templates/github-actions-templates.md
66-->
@@ -110,6 +110,19 @@ pull request).
110110
111111---
112112
113+ [ github/workflows/drupal/styles.yaml] ( github/workflows/drupal/styles.yaml )
114+
115+ ### Styles (CSS and SCSS)
116+
117+ Validates styles files.
118+
119+ #### Assumptions
120+
121+ 1 . A docker compose service named ` prettier ` for running
122+ [ Prettier] ( https://prettier.io/ ) exists.
123+
124+ ---
125+
113126[ github/workflows/javascript.yaml] ( github/workflows/javascript.yaml )
114127
115128JavaScript (and TypeScript)
@@ -130,12 +143,6 @@ linted and how.
130143
131144---
132145
133- [ github/workflows/styles.yaml] ( github/workflows/styles.yaml )
134-
135- Styles (CSS and SCSS)
136-
137- ---
138-
139146[ github/workflows/symfony/php.yaml] ( github/workflows/symfony/php.yaml )
140147
141148### Symfony PHP
Original file line number Diff line number Diff line change 1+ # Do not edit this file! Make a pull request on changing
2+ # github/workflows/styles.yaml in
3+ # https://github.com/itk-dev/devops_itkdev-docker if need be.
4+
5+ # ## ### Styles (CSS and SCSS)
6+ # ##
7+ # ## Validates styles files.
8+ # ##
9+ # ## #### Assumptions
10+ # ##
11+ # ## 1. A docker compose service named `prettier` for running
12+ # ## [Prettier](https://prettier.io/) exists.
13+
14+ name : Styles
15+
16+ on :
17+ pull_request :
18+ push :
19+ branches :
20+ - main
21+ - develop
22+
23+ jobs :
24+ styles-lint :
25+ runs-on : ubuntu-latest
26+ strategy :
27+ fail-fast : false
28+ steps :
29+ - name : Checkout
30+ uses : actions/checkout@v4
31+
32+ - run : |
33+ docker network create frontend
34+
35+ - run : |
36+ docker compose run --rm prettier 'web/themes/custom/**/css/**/*.css' --check
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments