Skip to content

Update README.md

Update README.md #76

Workflow file for this run

name: Format
on:
push:
branches: [main]
jobs:
format:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Format
run: pnpm run format
- name: Add, Commit and Push
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "style: format code with prettier"
commit_user_name: Isla
commit_user_email: bot@nn.ci
commit_author: "Isla <bot@nn.ci>"