We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec77b65 commit ffa6269Copy full SHA for ffa6269
2 files changed
.github/scripts/build.sh
@@ -79,6 +79,16 @@ set -x
79
composer install --prefer-dist --no-progress --no-suggest
80
{ [ "${DEBUG}" ] || set +x; } 2>/dev/null
81
82
+# Build all Drupal libraries
83
+for dir in docroot/libraries/*; do
84
+ if [ -f "$dir/package.json" ]; then
85
+ cd "$dir"
86
+ npm ci
87
+ npm run build || true
88
+ cd -
89
+ fi
90
+done
91
+
92
# Get current branch name.
93
BRANCHNAME="$(git rev-parse --symbolic-full-name --abbrev-ref HEAD)"
94
if [ "$BRANCHNAME" == "HEAD" ]; then
.github/workflows/build.yml
@@ -26,6 +26,10 @@ jobs:
26
uses: actions/checkout@v2
27
with:
28
fetch-depth: '0'
29
+ - name: Setup Node.js
30
+ uses: actions/setup-node@v3
31
+ with:
32
+ node-version: '24'
33
- name: Setup PHP and tools
34
uses: shivammathur/setup-php@v2
35
0 commit comments