File tree Expand file tree Collapse file tree 4 files changed +52
-14
lines changed Expand file tree Collapse file tree 4 files changed +52
-14
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-05-02T13:52:10 +02:00
3+ It was automatically created at 2025-05-05T10:20:02 +02:00
44by task/scripts/github-documentation-update
55based on /app/task/scripts/../templates/github-actions-templates.md
66-->
@@ -61,6 +61,19 @@ Validates composer.json and checks that it's normalized.
6161
6262---
6363
64+ [ github/workflows/drupal/javascript.yaml] ( github/workflows/drupal/javascript.yaml )
65+
66+ ### Drupal JavaScript (and TypeScript)
67+
68+ Validates JavaScript files.
69+
70+ #### Assumptions
71+
72+ 1 . A docker compose service named ` prettier ` for running
73+ [ Prettier] ( https://prettier.io/ ) exists.
74+
75+ ---
76+
6477[ github/workflows/drupal/php.yaml] ( github/workflows/drupal/php.yaml )
6578
6679### Drupal PHP
@@ -114,7 +127,7 @@ pull request).
114127
115128[ github/workflows/drupal/styles.yaml] ( github/workflows/drupal/styles.yaml )
116129
117- ### Styles (CSS and SCSS)
130+ ### Drupal Styles (CSS and SCSS)
118131
119132Validates styles files.
120133
@@ -125,12 +138,6 @@ Validates styles files.
125138
126139---
127140
128- [ github/workflows/javascript.yaml] ( github/workflows/javascript.yaml )
129-
130- JavaScript (and TypeScript)
131-
132- ---
133-
134141[ github/workflows/markdown.yaml] ( github/workflows/markdown.yaml )
135142
136143### Markdown
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/javascript.yaml in
3+ # https://github.com/itk-dev/devops_itkdev-docker if need be.
4+
5+ # ## ### Drupal JavaScript (and TypeScript)
6+ # ##
7+ # ## Validates JavaScript files.
8+ # ##
9+ # ## #### Assumptions
10+ # ##
11+ # ## 1. A docker compose service named `prettier` for running
12+ # ## [Prettier](https://prettier.io/) exists.
13+
14+ name : JavaScript
15+
16+ on :
17+ pull_request :
18+ push :
19+ branches :
20+ - main
21+ - develop
22+
23+ jobs :
24+ javascript-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/**/js/**/*.js' --check
Original file line number Diff line number Diff line change 22# github/workflows/drupal/styles.yaml in
33# https://github.com/itk-dev/devops_itkdev-docker if need be.
44
5- # ## ### Styles (CSS and SCSS)
5+ # ## ### Drupal Styles (CSS and SCSS)
66# ##
77# ## Validates styles files.
88# ##
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments