mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-30 23:42:49 -05:00
a56c0cf73d
* add: new torrent moderator group - this group is limited to moderating and editing torrents via is_editor and is_torrent_modo group permissions
31 lines
910 B
YAML
31 lines
910 B
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@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Configure Bun
|
|
uses: oven-sh/setup-bun@v1
|
|
with:
|
|
bun-version: latest
|
|
- name: Install JS Dependencies
|
|
run: bun install
|
|
- name: Run Prettier
|
|
run: bunx prettier -w *
|
|
- name: Commit Changes
|
|
uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: Blade Style Change (Prettier Blade CI)
|
|
commit_user_name: HDVinne
|
|
commit_user_email: hdinnovations@protonmail.com
|
|
commit_author: HDVinnie <hdinnovations@protonmail.com>
|