Skip to content

chore: fix prettier, move pages, add husky #15

chore: fix prettier, move pages, add husky

chore: fix prettier, move pages, add husky #15

Workflow file for this run

name: pull-request
on:
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Prettify code
run: npx prettier . --write
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: 'gha(prettier): format files'