Skip to content

Commit 2aa4c04

Browse files
committed
build all themes
1 parent 08017ba commit 2aa4c04

File tree

3 files changed

+10
-20
lines changed

3 files changed

+10
-20
lines changed

.github/workflows/publish_to_master.yml

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,15 @@ jobs:
3535
packages/modules/web_themes/colors/source/package-lock.json
3636
packages/modules/web_themes/koala/source/package-lock.json
3737
38-
- name: Finde geänderte Themes
39-
id: changed
38+
- name: Installiere Abhängigkeiten und baue alle Themes
4039
run: |
41-
git show --pretty="" --name-only HEAD \
42-
| grep -E '^(packages/modules/display_themes/cards/source/|packages/modules/display_themes/colors/source/|packages/modules/web_themes/colors/source/|packages/modules/web_themes/koala/source/)' \
43-
| awk -F/ '{print $4}' | sort -u > changed_themes.txt
44-
cat changed_themes.txt
45-
46-
- name: Installiere Abhängigkeiten und baue geänderte Themes
47-
run: |
48-
while read theme; do
49-
for base in $THEME_BASES; do
50-
if [[ "$base" == *"$theme"* ]]; then
51-
echo "Installiere und baue Theme: $theme"
52-
cd "$base"
53-
npm ci || npm install
54-
npm run build
55-
cd -
56-
fi
57-
done
58-
done < changed_themes.txt
40+
for base in $THEME_BASES; do
41+
echo "Installiere und baue Theme: $base"
42+
cd "$base"
43+
npm ci || npm install
44+
npm run build
45+
cd -
46+
done
5947
6048
- name: Commit und Push gebaute Themes
6149
run: |

packages/modules/display_themes/cards/source/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
This is the "Cards" display theme for openWB 2.x.
44

5+
56
## Recommended IDE Setup
67

78
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

packages/modules/web_themes/koala/source/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Koala web theme for openWB
44

55

66

7+
78
## Install the dependencies
89

910
```bash

0 commit comments

Comments
 (0)