From df97a0c450bf3c8a5f5b8ac4038f6988a0846851 Mon Sep 17 00:00:00 2001 From: snomiao Date: Mon, 30 Dec 2024 21:12:13 +0000 Subject: [PATCH] fix(workflows): add prettier add prettier --- .github/workflows/semantic-release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/semantic-release.yml b/.github/workflows/semantic-release.yml index 44edff2..8c4e0bc 100644 --- a/.github/workflows/semantic-release.yml +++ b/.github/workflows/semantic-release.yml @@ -15,6 +15,12 @@ jobs: - run: bun i - run: bun run test - run: bun run build + - name: Prettify code + uses: creyD/prettier_action@v4.3 + with: + # This part is also where you can pass other options, for example: + prettier_options: --write **/*.{js,md} + only_changed: True - run: npx semantic-release env: # reminder to setup read/write permission for this token