diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index f055c56..934596c 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,6 +1,6 @@ name: npm run format -on: [push] +on: [push, manual_dispatch] jobs: style: @@ -14,12 +14,14 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: stefanzweifel/git-auto-commit-action@v5 - with: - commit_message: "style: format" + - name: Use Node.js uses: actions/setup-node@v3 with: node-version: '20.x' - run: npm install - run: npm run format + + - uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "style: format"