Fix autocommit in style workflow
This commit is contained in:
parent
4bbd31bcd3
commit
81b3e02926
1 changed files with 6 additions and 4 deletions
10
.github/workflows/style.yml
vendored
10
.github/workflows/style.yml
vendored
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue