mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2025-12-06 13:38:53 +08:00
28 lines
627 B
YAML
28 lines
627 B
YAML
name: pint
|
|
|
|
on: push
|
|
|
|
jobs:
|
|
pint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v2
|
|
- name: Install dependencies
|
|
run: |
|
|
composer install --no-interaction
|
|
npm ci
|
|
- name: Run Pint
|
|
run: composer pint
|
|
- name: Run Prettier
|
|
run: npm run prettier
|
|
- name: Commit changes
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: >
|
|
chore: fix code style
|