rewrite in bash and nu. nu has args and flags, documented for free #3048
Workflow file for this run
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: Reformat | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Format | |
run: npm run fmt | |
- uses: EndBug/add-and-commit@v9 | |
with: | |
add: . | |
message: 'Bot commit: format with prettier' | |
default_author: github_actions |