diff --git a/.github/workflows/build-private.yml b/.github/workflows/build-private.yml index 4b00ef77..2d158ce6 100644 --- a/.github/workflows/build-private.yml +++ b/.github/workflows/build-private.yml @@ -107,6 +107,24 @@ jobs: - name: "Install npm dependencies in services extension" run: cd extensions/Services && npm ci + - name: "Checkout services extension" + uses: actions/checkout@v4 + with: + repository: solidtime-io/extension-invoicing + path: extensions/Invoicing + ssh-key: ${{ secrets.SSH_PRIVATE_KEY_INVOICING_EXTENSION }} + + - name: "Install composer dependencies in invoicing extension" + uses: php-actions/composer@v6 + with: + working_dir: "extensions/Invoicing" + command: install + only_args: --no-dev --no-ansi --no-interaction --prefer-dist --ignore-platform-reqs --classmap-authoritative + php_version: 8.3 + + - name: "Install npm dependencies in invoicing extension" + run: cd extensions/Invoicing && npm ci + - name: "Setup PHP with PECL extension" uses: shivammathur/setup-php@v2 with: @@ -127,6 +145,9 @@ jobs: - name: "Activate services extension" run: php artisan module:enable Services + - name: "Activate invoicing extension" + run: php artisan module:enable Invoicing + - name: "Install npm dependencies" run: npm ci