diff --git a/.github/workflows/homeboy.yml b/.github/workflows/homeboy.yml new file mode 100644 index 00000000..c7c6be8f --- /dev/null +++ b/.github/workflows/homeboy.yml @@ -0,0 +1,25 @@ +name: Homeboy + +on: + pull_request: + branches: [main] + +permissions: + contents: read + pull-requests: write + +jobs: + homeboy: + name: Lint, Test & Audit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: Extra-Chill/homeboy-action@v1 + with: + extension: wordpress + commands: lint,test,audit + component: data-machine + settings: '{"database_type": "sqlite"}' + php-version: '8.2' + node-version: '20' diff --git a/homeboy.json b/homeboy.json index 9dd9b9e7..9b9712ad 100644 --- a/homeboy.json +++ b/homeboy.json @@ -1,5 +1,5 @@ { - "modules": { + "extensions": { "wordpress": {} }, "version_targets": [