XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFESpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 0 Star 0
返回提交历史

XFEstudio/XFESpaceNinjaServer

Create gh action - format (#17)

Co-authored-by: AngeloTadeucci <AngeloTadeucci@users.noreply.github.com>

73791555
Ângelo Tadeucci <angelo_tadeucci@hotmail.com.br>
提交于

代码差异

1 个文件 +21 -0
Added .github/workflows/prettier.yml +21 -0
@@ -0,0 +1,21 @@
1 name: Prettier
2 on:
3 pull_request:
4 branches: [main]
5 jobs:
6 format:
7 runs-on: ubuntu-latest
8 steps:
9 - uses: actions/checkout@v2
10 with:
11 ref: ${{ github.head_ref }}
12 - uses: actions/setup-node@v1
13 with:
14 node-version: "18.x"
15 - run: npm ci
16 - run: npm run prettier
17 - name: Commit changes
18 uses: stefanzweifel/git-auto-commit-action@v4.1.2
19 with:
20 commit_message: Apply prettier changes
21 branch: ${{ github.head_ref }}