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 1
1
<!-- DO NOT EDIT THIS FILE!
2
2
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
4
4
by task/scripts/github-documentation-update
5
5
based on /app/task/scripts/../templates/github-actions-templates.md
6
6
-->
@@ -61,6 +61,19 @@ Validates composer.json and checks that it's normalized.
61
61
62
62
---
63
63
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
+
64
77
[ github/workflows/drupal/php.yaml] ( github/workflows/drupal/php.yaml )
65
78
66
79
### Drupal PHP
@@ -114,7 +127,7 @@ pull request).
114
127
115
128
[ github/workflows/drupal/styles.yaml] ( github/workflows/drupal/styles.yaml )
116
129
117
- ### Styles (CSS and SCSS)
130
+ ### Drupal Styles (CSS and SCSS)
118
131
119
132
Validates styles files.
120
133
@@ -125,12 +138,6 @@ Validates styles files.
125
138
126
139
---
127
140
128
- [ github/workflows/javascript.yaml] ( github/workflows/javascript.yaml )
129
-
130
- JavaScript (and TypeScript)
131
-
132
- ---
133
-
134
141
[ github/workflows/markdown.yaml] ( github/workflows/markdown.yaml )
135
142
136
143
### 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 2
2
# github/workflows/drupal/styles.yaml in
3
3
# https://github.com/itk-dev/devops_itkdev-docker if need be.
4
4
5
- # ## ### Styles (CSS and SCSS)
5
+ # ## ### Drupal Styles (CSS and SCSS)
6
6
# ##
7
7
# ## Validates styles files.
8
8
# ##
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments