This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
autogen: updated common files in HiromiShikata #188
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Format' | |
on: push | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GH_TOKEN }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 19 | |
- run: git pull | |
- run: npm ci | |
- run: npm run fmt && git --no-pager diff | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: 'style: re-format / npm run fmt' |