mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-02 16:29:49 -05:00
update: prettier-blade.yml
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user