From 5c68d481929a091e947d4b8e82a3cd44f2ecdbf2 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Nov 2024 14:03:40 +0100 Subject: Create format.yml --- .github/workflows/format.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/format.yml 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 -- cgit