mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-02 08:19:33 -05:00
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
name: Format Blade Files (Prettier)
|
|
on: [ push, pull_request ]
|
|
jobs:
|
|
format-blade-files:
|
|
strategy:
|
|
matrix:
|
|
operating-system:
|
|
- ubuntu-22.04
|
|
name: ${{ matrix.operating-system }}
|
|
runs-on: ${{ matrix.operating-system }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Configure Bun
|
|
uses: oven-sh/setup-bun@v2
|
|
with:
|
|
bun-version: latest
|
|
- name: Install JS Dependencies
|
|
run: bun ci
|
|
- name: Run Prettier
|
|
run: bunx prettier -w *
|
|
- name: Commit Changes
|
|
uses: stefanzweifel/git-auto-commit-action@v7
|
|
with:
|
|
commit_message: "automation: prettier blade ci"
|
|
commit_user_name: unit3d-bot
|
|
commit_user_email: unit3d_gh_bot@protonmail.com
|
|
commit_author: unit3d-bot <unit3d_gh_bot@protonmail.com>
|