aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2024-11-20 14:03:40 +0100
committerGitHub <noreply@github.com>2024-11-20 14:03:40 +0100
commit5c68d481929a091e947d4b8e82a3cd44f2ecdbf2 (patch)
tree000c03d36bf90b7ecdb020bda271af5751151d6e /.github
parent437c152a0caa9abd0b5c071eebdfdc58adc594c3 (diff)
Create format.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml
new file mode 100644
index 0000000..e7946f9
--- /dev/null
+++ b/.github/workflows/format.yml
@@ -0,0 +1,23 @@
+name: Formatting
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: '14'
+ cache: 'npm'
+ - name: Prettier Action
+ uses: creyD/prettier_action@v4.3
+ with:
+ same_commit: false
+ prettier_options: --write **/*.js