Skip to content

chore(config): initial commit #1

chore(config): initial commit

chore(config): initial commit #1

Workflow file for this run

name: Prettier Code Formatter
on:
push:
branches:
- main
pull_request:
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Create .prettierrc.yaml
uses: 1arp/[email protected]
with:
path: '/'
isAbsolutePath: false
file: '.prettierrc.yaml'
content: |
overrides:
- files:
- "*.md"
options:
parser: "markdown"
printWidth: 100
proseWrap: "always"
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write --config .prettierrc.yaml
only_changed: true
commit_message: 'chore(config): prettied code'
lint:
uses: kurocado-studio/styleguide/.github/workflows/workflow.lint.yml@main
secrets: inherit