Merge pull request #532 from martin-ro/default-image-url #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build Assets" | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 3.x | |
paths: | |
- 'resources/views/**.php' | |
- 'resources/js/**.js' | |
- 'resources/css/**.css' | |
jobs: | |
assets: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build assets | |
run: npm run build | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Chore: build assets" | |
commit_user_name: "GitHub Actions" |