Skip to content

Commit

Permalink
Create build-plugin.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhamp authored Nov 12, 2024
1 parent 483dfe3 commit a6ec094
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build-plugin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: plugin-build

on:
push:
branches: [main]

workflow_dispatch:

jobs:
test:
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
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Build plugin

0 comments on commit a6ec094

Please sign in to comment.