update: prettier-blade.yml

This commit is contained in:
HDVinnie
2023-12-25 18:09:42 -05:00
parent ce3c4ad554
commit d2cbe3b3ad
+11 -4
View File
@@ -1,16 +1,23 @@
name: Format Blade Files
on: [push, pull_request]
jobs:
format:
runs-on: ubuntu-22.04
format-blade-files:
strategy:
matrix:
operating-system:
- ubuntu-22.04
name: ${{ matrix.operating-system }}
runs-on: ${{ matrix.operating-system }}
steps:
- uses: actions/checkout@v4
- name: Code Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 2
- name: Configure NPM
uses: actions/setup-node@v2
with:
node-version: '18.x'
- name: Run Prettier
- run: npm run format
- name: Commit Changes
uses: stefanzweifel/git-auto-commit-action@v4