Skip to content

readme

readme #9

Workflow file for this run

name: build-assets
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
coverage: none
- name: Install composer dependencies
run: composer install
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Build assets
push_options: --force