Skip to content

Update composer.json #79

Update composer.json

Update composer.json #79

Workflow file for this run

# If it's a pull request, don't build the plugin, just fail if it can't be built
# If it's a push to main, build the plugin
name: plugin-build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install dependencies
working-directory: ./resources/js/
run: npm install
- name: Build plugin
working-directory: ./resources/js/
run: npm run plugin:build
- name: Commit changes
if: github.event_name != 'pull_request'
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Build plugin