Skip to content

Commit

Permalink
Update instawp-deployment.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Leucht <[email protected]>
  • Loading branch information
Chrico authored Oct 9, 2024
1 parent 492a673 commit a5f427e
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/instawp-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,43 @@ jobs:
COMPOSER_AUTH: '${{secrets.PACKAGIST_AUTH_JSON}}'
steps:
- uses: actions/checkout@v2

- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ env.GITHUB_USER_SSH_KEY }}

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: composer:v2
- name: Install dependencies
run: composer install -q -n -a --no-progress --prefer-dist
php-version: 8.2
tools: composer
coverage: none

- name: Install Composer dependencies
uses: ramsey/composer-install@v3
with:
composer-options: '--prefer-dist'

- name: Set up node
uses: actions/setup-node@v4
with:
node-version: 18
registry-url: 'https://npm.pkg.github.com/'
cache: 'yarn'

- name: Install dependencies
run: yarn

- name: Create Plugin-ZIP
run: yarn plugin-zip

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: "inpsyde-google-tag-manager"
path: ./inpsyde-google-tag-manager.zip

create-wp-for-testing:
needs: build-artifact
runs-on: ubuntu-latest
Expand Down

0 comments on commit a5f427e

Please sign in to comment.