Skip to content

npm build

npm build #26

Workflow file for this run

name: npm-build
on:
pull_request:
jobs:
npm-build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP with PECL extension
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: mbstring, intl, amqp, dba, bcmath
- name: Install Composer dependencies
run: composer install --no-interaction
- name: Setup Node
uses: actions/setup-node@v2
- name: Install dependencies
run: npm ci
- name: Build assets
run: npm run build
- name: Pull changes
run: git pull
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: >
chore: build assets