Skip to content

Commit

Permalink
Update licenses.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz authored Dec 19, 2024
1 parent 0a98d78 commit 3d1abd9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ jobs:
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
with:
php-version: ${{ steps.phpversion.outputs.version }}
extensions: curl, dom, gd, intl, json, ldap, mbstring, mysql, tidy, xdebug, zip
extensions: curl, dom, gd, intl, json, ldap, mbstring, mysql, tidy, zip
tools: composer:v2
coverage: xdebug

- name: Composer install
run: composer install
Expand Down Expand Up @@ -132,6 +131,11 @@ jobs:
npm install -g yarn;
fi
yarn install --network-concurrency 1
DEPS=$(jq -r '.dependencies' package.json)
if [[ $DEPS == "null" ]] || [[ $DEPS == "{}" ]]; then
echo "No non-dev dependencies found in $DIR"
continue
fi
if [[ -z $(which license-checker) ]]; then
echo "Installing license-checker"
npm install -g license-checker
Expand Down

0 comments on commit 3d1abd9

Please sign in to comment.