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
|
name: npm run format
|
||||||
|
|
||||||
on: [push]
|
on: [push, manual_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
style:
|
style:
|
||||||
|
@ -14,12 +14,14 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
||||||
with:
|
|
||||||
commit_message: "style: format"
|
|
||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run format
|
- run: npm run format
|
||||||
|
|
||||||
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
|
with:
|
||||||
|
commit_message: "style: format"
|
||||||
|
|
Loading…
Reference in a new issue