Installs Shopware CLI in your GitHub Actions.
name: shopware-cli
on:
pull_request:
push:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Shopware CLI
uses: FriendsOfShopware/shopware-cli-action@v1
- name: Build and Package Extension
run: shopware-cli extension zip .