Skip to content

feat: Improve dark mode and fix npm build assets github actions #64

feat: Improve dark mode and fix npm build assets github actions

feat: Improve dark mode and fix npm build assets github actions #64

Workflow file for this run

name: npm-build
on:
pull_request:
branches:
- 2.x
types:
- closed
jobs:
npm-build:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: 2.x
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 8
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
- name: Install dependencies
run: |
composer install --no-interaction
pnpm install
- name: Build assets
run: pnpm build
- name: Pull changes
run: git pull
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: 2.x
commit_message: >
chore: Build assets