diff --git a/.github/scripts/build.sh b/.github/scripts/build.sh index eb9bb0e41..409ef1f91 100755 --- a/.github/scripts/build.sh +++ b/.github/scripts/build.sh @@ -79,6 +79,12 @@ set -x composer install --prefer-dist --no-progress --no-suggest { [ "${DEBUG}" ] || set +x; } 2>/dev/null +# Build Dropzone Drupal library +cd "docroot/libraries/dropzone" +yarn install +yarn build +cd - + # Get current branch name. BRANCHNAME="$(git rev-parse --symbolic-full-name --abbrev-ref HEAD)" if [ "$BRANCHNAME" == "HEAD" ]; then diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 95bacd927..0b1d9f38f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,10 @@ jobs: uses: actions/checkout@v2 with: fetch-depth: '0' + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: '16' - name: Setup PHP and tools uses: shivammathur/setup-php@v2 with: