diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml deleted file mode 100644 index af406aa..0000000 --- a/.github/workflows/format.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Format Code - -on: [pull_request, workflow_dispatch] - -jobs: - format: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Setup Node - uses: actions/setup-node@v4 - with: - cache: 'npm' - - name: NPM Install - run: npm ci - - name: Prettier - run: npm run prettier - - name: Commit formatted code - run: | - git config --global user.email "actions@github.com" - git config --global user.name "GitHub Actions" - git add . - git commit -m "Format code with Prettier" - git push \ No newline at end of file